home *** CD-ROM | disk | FTP | other *** search
/ Chip 1996 November / Chip 11-96.iso / workshop / howto / ethernet < prev    next >
Text File  |  1996-05-25  |  109KB  |  2,582 lines

  1. Linux Ethernet HOWTO v1.03 -- Last updated June 22, 1994
  2. =================================================================
  3.  
  4. NOTE 1:    This will (hopefully) be the last maintained ASCII version.
  5.     The Ethernet-HOWTO will from then on be maintained in the
  6.     SGML format, which can then generate ASCII, LaTeX, HTML (www)
  7.     and other formats. Look for it in about a month from the above
  8.     date.
  9.  
  10. NOTE 2:    Donald has a new e-mail address, and accordingly, a new ftp
  11.     site. The e-mail addr is below, and the ftp site is in the
  12.     FAQ section, under "I heard there is an alpha driver for my
  13.     card - where do I get it?"
  14.  
  15. -------------------------------------------------------------
  16.  
  17. -- covers changes up to and including Linux kernel v1.1
  18.  
  19. INDEX:
  20.  
  21. 0    Introduction.
  22. 0.01        How do I use this Guide?
  23. 0.01        Disclaimer and Copyright
  24. 0.02        Questions already?
  25. 0.03        Related Documentation
  26. 0.04        New Versions of this Document
  27. 0.05        Feedback
  28.  
  29. 1    What card should I buy for Linux?
  30. 1.01        Eight bit vs 16 bit
  31. 1.02        Low price Ethernet cards
  32. 1.03        Vendors and brands to avoid.
  33. 1.04        Type of cable that your card should support
  34.  
  35. 2    Status of various Ethernet cards under Linux.
  36. 2.01        3Com
  37. 2.02        Western Digital / SMC
  38. 2.03        NExxxx
  39. 2.04        Hewlett Packard Cards
  40. 2.05        D-Link
  41. 2.06        Cabletron
  42. 2.07        Allied Telesis
  43. 2.08        Arcnet
  44. 2.09        Digital / DEC
  45. 2.10        Intel
  46. 2.11        PureData
  47. 2.12        Xircom
  48. 2.13        Zenith
  49. 2.14        Racal-Interlan
  50. 2.15        AMD LANCE (79C960)
  51. 2.16        AT-Lan-Tec / RealTek Pocket adaptor
  52. 2.17        Ansel
  53. 2.18        DFI
  54. 2.19        IBM
  55.  
  56. 3    Clones of popular Ethernet cards.
  57. 3.01        WD80x3 Clones
  58. 3.02        NE2000 Clones
  59.  
  60. 4    Cables, coax, twisted pairs etc.
  61. 4.01        Thin Ethernet (thinnet)
  62. 4.02        Twisted Pair
  63. 4.03        Thick Ethernet
  64.  
  65. 5    Technical information.
  66. 5.01        Probed addresses
  67. 5.02        Skeleton / prototype driver
  68. 5.03        Driver interface to the kernel
  69. 5.04        Interrupts and linux
  70. 5.05        Programmed I/O vs. shared mem. vs slave/master DMA
  71. 5.06        Programming the Intel chips (i82586 and i82593)
  72. 5.07        Programming information from 3Com
  73. 5.08        Notes on AMD PCnet-ISA / LANCE Based cards (79C960)
  74. 5.09        Multicast and Promiscuous mode
  75. 5.10        The Berkeley Packet Filter (BPF)
  76. 5.11        Unresolved questions / concerns
  77.  
  78. 6    Possible problems, questions and troubleshooting.
  79. 6.01        Problems with NE2000 (and clones)
  80. 6.02        Problems with WD80*3 cards
  81. 6.03        Problems with 3Com cards
  82. 6.04        Problems with Hewlett Packard Cards
  83.  
  84. 7    Networking with a laptop computer.
  85. 7.01        Option 1 -- using SLIP
  86. 7.02        Option 2 -- Built in NE2000 compatible or PCMCIA Ethercard.
  87. 7.03        Option 3 -- ISA Ethercard in the docking station.
  88. 7.04        Option 4 -- Pocket / parallel port adaptors.
  89.  
  90. 8    Frequently asked questions.
  91. 8.01        Just the FAQ's ma'am -- just the FAQ's.
  92.  
  93. 9    Miscellaneous.
  94. 9.01        Passing Ethernet Arguments to the Kernel via LILO
  95. 9.02        Bad Vendors
  96. 9.03        Closing
  97.  
  98. ======================================================================
  99.  
  100. 0. Introduction.
  101.  
  102.     This is the Ethernet-HOWTO, which is a compilation of information
  103.     about which ethernet devices can be used for Linux, and how to
  104.     set them up.
  105.  
  106.     This Ethernet-HOWTO is by:
  107.         Donald J. Becker    <becker@cesdis1.gsfc.nasa.gov>
  108.         Paul Gortmaker        <gpg109@rsphy1.anu.edu.au>
  109.  
  110.     It covers what cards you should and shouldn't buy; how to set
  111.     them up, how to run more than one, and other common problems and
  112.     questions. It does *not* cover the software end of things, as that
  113.     is covered in the NET-2 HOWTO.
  114.  
  115.     Other people who have contributed (directly or indirectly) are,
  116.     in alphabetical order:
  117.  
  118.     Peter Bauer        <pbauer@rnivh.rni.sub.org>
  119.     Ross Biro        <bir7@leland.Stanford.EDU>
  120.     Alan Cox        <iiitac@pyr.swan.ac.uk>
  121.     David C. Davies        <davies@wanton.enet.dec.com>
  122.     Bjorn Ekwall        <bj0rn@blox.se>
  123.     Charles Hedrick        <hedrick@geneva.rutgers.edu>
  124.     Mike Jagdis        <jaggy@purplet.demon.co.uk>
  125.     Duke Kamstra        <kamstra@ccmail.west.smc.com>
  126.     Russell Nelson        <nelson@crynwr.com>
  127.     Cameron Spitzer        <camerons@NAD.3Com.com>
  128.     Dave Roberts        <david.roberts@amd.com>
  129.     Glenn Talbott        <gt@hprnd.rose.hp.com>
  130.     Miquel van Smoorenburg    <miquels@cistron.nl.mugnet.org>
  131.  
  132.     Many thanks to the above people, and all the other unmentioned
  133.     testers out there.
  134.  
  135. 0.01 How Do I Use This Guide?
  136.  
  137.     As this guide is getting bigger and bigger, you probably don't want
  138.     to spend the rest of your afternoon reading the whole thing. And you
  139.     don't *have* to read it all. If you haven't got an ethernet card, then
  140.     you will want to start with section one to see what you should buy,
  141.     and what you should avoid. If you have already got an ethernet card,
  142.     but are not sure if you can use it with Linux, then you will want to
  143.     read section two, which contains specific information on each
  144.     manufacturer, and their cards. If you are having trouble with your
  145.     card, then you will want to read the specific information about
  146.     your card in section two and the troubleshooting information in
  147.     section six. If you are interested in some of the technical aspects
  148.     of the device drivers, then you can find that information in
  149.     section 5.
  150.  
  151. 0.01 Disclaimer and Copyright
  152.  
  153.     This document is *not* gospel. However, it is probably the most
  154.     up to date info that you will be able to find. Nobody is responsible
  155.     for what happens to your hardware but yourself. If your ethercard
  156.     or any other hardware goes up in smoke (...nearly impossible!)
  157.     we take no responsibility. ie. THE AUTHORS ARE NOT RESPONSIBLE
  158.     FOR ANY DAMAGES INCURRED DUE TO ACTIONS TAKEN BASED ON THE
  159.     INFORMATION INCLUDED IN THIS DOCUMENT.
  160.  
  161.     This document is Copyright (c) 1994 by Donald Becker and
  162.     Paul Gortmaker. Permission is granted to make and distribute
  163.     verbatim copies of this manual provided the copyright notice
  164.     and this permission notice are preserved on all copies.
  165.  
  166.     Permission is granted to copy and distribute modified versions
  167.     of this document under the conditions for verbatim copying,
  168.     provided that this copyright notice is included exactly as in
  169.     the original, and that the entire resulting derived work is
  170.     distributed under the terms of a permission notice identical
  171.     to this one.
  172.  
  173.     Permission is granted to copy and distribute translations
  174.     of this document into another language, under the above
  175.     conditions for modified versions.
  176.  
  177. 0.02 Questions already?
  178.  
  179.     If you have questions about your ethernet card, please READ this
  180.     document first. You may also want to join the NET channel of the
  181.     Linux-activists mailing list by sending mail to
  182.         linux-activists-request@niksula.hut.fi
  183.     with the line
  184.         X-Mn-Admin: join NET
  185.     at the top of the message body (not the subject). If you want to
  186.     learn how to use the mailing channels, then send an empty message
  187.     to the above address, and you will get an instruction manual sent
  188.     back to you in a few hours. However, it is worth noting that the NET
  189.     channel is primarily used for discussion of the networking code, and
  190.     you may not see much discussion about a particular driver.
  191.     Furthermore keep in mind that the NET channel is for development
  192.     discussions only. General questions on how to configure your system
  193.     should be directed to comp.os.linux.help unless you are actively
  194.     involved in the development of part of the networking for Linux.
  195.     We ask that you *please* respect this general guideline for content.
  196.     You can safely bet that neither of the authors will respond to
  197.     any plea for help that *should* be posted to c.o.l.help, but is
  198.     inappropriately placed elsewhere.
  199.  
  200. 0.03 Related Documentation
  201.  
  202.     Much of this info came from saved postings from the comp.os.linux
  203.     groups, which shows that it is a valuable resource of information.
  204.     Other useful information came from a bunch of small files by Donald
  205.     himself. Of course, if you are setting up an Ethernet card,
  206.     then you will want to read the NET-2 HOWTO so that you can actually
  207.     configure the software you will use.  And last but not least, the
  208.     contributions from the individuals and companies listed above are
  209.     greatly appreciated as well. Oh yeah, if you fancy yourself as
  210.     a bit of a hacker, you can always scrounge some additional info
  211.     from the driver source files as well. There is usually a paragraph
  212.     in there describing any important points.
  213.  
  214. 0.04 New versions of this document
  215.  
  216.     New versions of this document can be retrieved via anonymous
  217.     FTP from sunsite.unc.edu:/pub/Linux/docs/HOWTO/* and various
  218.     Linux ftp mirror sites. It will also be posted to the newsgroup
  219.     comp.os.linux.announce at a regular interval. Updates will be made
  220.     as new information / drivers becomes available. If this copy
  221.     that you are reading is more than 2 months old, it is either out of
  222.     date, or it means that I have been lazy and haven't updated it.
  223.     Look for other formats in the future, as this will be the last
  224.     maintained ASCII version. After that, the ASCII versions will be
  225.     automatically generated from SGML source.
  226.  
  227. 0.05 Feedback
  228.  
  229.     Any corrections can be sent to one of us (gpg109@rsphy1.anu.edu.au
  230.     or becker@cesdis1.gsfc.nasa.gov) We will *attempt* to keep this 
  231.     up to date as more drivers become available, and as the networking 
  232.     code matures.
  233.  
  234. 1 What card should I buy for Linux?
  235.  
  236.     For impatient users that just want a quick, cheap answer the
  237.     summary is: get 16 bit thinnet 8013 cards. For more detail as
  238.     to the who what where and why, read on.
  239.  
  240. 1.01 Eight bit vs 16 bit
  241.  
  242.     Unless you are a light user, or are confined to using the smaller
  243.     ISA slot, the use of the 8 bit cards like the wd8003 and the 3c503
  244.     is really not worth the cost savings. Get the 8013 or the 3c503/16
  245.     instead.
  246.  
  247. 1.02 Low price Ethernet cards
  248.  
  249.     The lowest price seen so far was in the March '94 edition of LAN
  250.     magazine. There was an ad for Addtron AE-200 cards (jumper settable
  251.     NE2000 clones) for a measly $19 ea! (limit 2). Unfortunately this
  252.     offer has since expired. However, you might want to check to see
  253.     what their everyday price is.
  254.  
  255.     You can also call AT-LAN-TEC at 301-948-7070. Ask for their
  256.     technical support person, "Vincent Bono". As with all purchases,
  257.     you should indicate you are buying this for a Linux system.
  258.     The last I checked the price for 10 NE2000s was $480, or $48 ea.!
  259.     NB: Their current NE2000 clone is a model that "traps" other
  260.     drivers that probe into their address space. AT-LAN-TEC also carries
  261.     a clone, non-EEPROM 8013 board for somewhat more, and a NE2100 clone.
  262.     Either is a better choice if the very lowest price isn't essential.
  263.  
  264.     Also, SMC has been offering an evaluation deal on their new Ultra 
  265.     cards, and the word is that you can get one for $50. You can ask 
  266.     them yourself by calling 1-800-SMC-4YOU in Canada and the USA.
  267.  
  268.     The Allied Telesis AT1500 is offered at a good price by many vendors.
  269.     Even Inmac, known for their premium markup, has this card for under
  270.     $100.
  271.  
  272. 1.03 Vendors and Brands to Avoid
  273.  
  274.     These vendors have decided *not* to release programming information
  275.     about their products, without signing a non-disclosure agreement.
  276.     More information can be found in section two and 9.01. Hence it is
  277.     strongly advised that you avoid buying products offered from
  278.     these companies.
  279.  
  280.         (1) Cabletron
  281.         (2) Xircom
  282.  
  283.     These particular cards should be avoided, as they are obsolete.
  284.     The reasons as to why they have been classified as such can be
  285.     found in section 2 of this document.
  286.  
  287.         (1) 3c501
  288.         (2) Arcnet
  289.  
  290. 1.04 Type of cable that your card should support
  291.  
  292.     Unless you have to conform to an existing network, you will want
  293.     to use thinnet or thin ethernet cable. This is the style with the
  294.     standard BNC connectors. See section 4 for other concerns with
  295.     different types of ethernet cable.
  296.  
  297.     Most ethercards also come in a "Combo" version for only $10-$20 more.
  298.     These have both twisted pair and thinnet transceiver built-in,
  299.     allowing you to change your mind later.
  300.  
  301. 2 Status of Various Ethernet Cards under Linux
  302.  
  303.     The only thing that one needs to use an ethernet card with Linux
  304.     is the appropriate driver. For this, it is essential that the
  305.     manufacturer will release the technical programming information to
  306.     the general public without you (or anyone) having to sign your life
  307.     away. A good guide for the likelihood of getting documentation
  308.     (or, if you aren't writing code, the likelihood that someone
  309.     else will write that driver you really, really need) is the
  310.     availability of the Crynwr (nee Clarkson) packet driver. Russ
  311.     Nelson (see the acknowledgements in the intro.) runs this
  312.     operation, and has been very helpful in supporting the development
  313.     of drivers for Linux.
  314.  
  315.     Given the documentation, you can write a driver for
  316.     your card and use it for Linux, at least in theory. Keep in
  317.     mind that some old hardware that was designed for XT type
  318.     machines will not function very well in a multitasking
  319.     environment such as Linux. Use of these will lead to major
  320.     problems if your network sees a reasonable amount of traffic.
  321.  
  322.     Most cards come with drivers for MS-DOS interfaces such as
  323.     NDIS and ODI, but these are useless for Linux. Many people
  324.     have suggested directly linking them in or automatic
  325.     translation, but this is nearly impossible. The MS-DOS
  326.     drivers expect to be in 16 bit mode and hook into "software
  327.     interrupts", both incompatible with the Linux kernel. This
  328.     incompatibility is actually a feature, as some Linux drivers
  329.     are considerably better than their MS-DOS counterparts. The
  330.     "8390" series drivers, for instance, use ping-pong transmit
  331.     buffers, which are only now being introduced in the MS-DOS world.
  332.  
  333.     Keep in mind that PC ethercards have the widest variety of
  334.     interfaces (shared memory, programmed I/O, bus-master, or slave
  335.     DMA) of any computer hardware for anything, and supporting a
  336.     new ethercard sometimes requires re-thinking most of the lower-level
  337.     networking code. (If you are interested in learning more about
  338.     these different forms of interfaces, see section 5)
  339.  
  340.     Also, similar product numbers don't always indicate similar products.
  341.     For instance, the 3c50* product line from 3Com varies wildly
  342.     between different members.
  343.  
  344.     Enough talk. Let's get down to the information you want.
  345.  
  346. 2.01 3Com
  347.  
  348.     If you are not sure what your card is, but you think it is a
  349.     3Com card, you can probably figure it out from the assembly
  350.     number. 3Com has a document "Identifying 3Com Adapters By 
  351.     Assembly Number" (ref 24500002) that would most likely clear
  352.     things up. See section 5.07 for info on how to get documents
  353.     from 3Com.
  354.  
  355.     Supported:
  356.  
  357.         3c503, 3c503/16
  358.             3Com shared-memory ethercards. They also have a
  359.             programmed I/O mode that doesn't use the 8390
  360.             facilities (their engineers found too many bugs!)
  361.             It should be about the same speed as the same bus
  362.             width WD80x3, but I don't have a 16 bit version
  363.             to benchmark. Unless you are a light user, spend
  364.             the extra money and get the 16 bit model, as the
  365.             price difference isn't significant. The 3c503 does not
  366.             have "EEPROM setup", so the diagnostic/setup program
  367.             isn't needed before running the card with Linux. The
  368.             shared memory address of the 3c503 is set using jumpers
  369.             that are shared with the boot PROM address. This is
  370.             confusing to people familiar with other ISA cards,
  371.             where you always leave the jumper set to "disable"
  372.             unless you have a boot PROM.
  373.  
  374.             The Linux 3c503 driver can also work with the 3c503
  375.             programmed-I/O mode, but this is slower and less
  376.             reliable than shared memory mode. Also, programmed-I/O
  377.             mode is not tested when updating the drivers, the
  378.             deadman (deadcard?) check code may falsely timeout on
  379.             some machines, and the probe for a 3c503 in
  380.             programmed-I/O mode is turned off by default in some
  381.             versions of the kernel. This was a panic reaction to
  382.             the general device driver probe explosion; the 3c503
  383.             shared memory probe is a safe read from memory, rather
  384.             than an extensive scan through I/O space. As of pl13,
  385.             the kernel has an I/O port registrar that makes I/O
  386.             space probes safer, (see section 5.1 for more info.)
  387.             and the programmed-I/O 3c503 probe has been re-enabled.
  388.             You still shouldn't use the programmed-I/O mode though,
  389.             unless you need it for MS-DOS compatibility.
  390.  
  391.             The 3c503's IRQ line is set in software, with no hints
  392.             from an EEPROM. Unlike the MS-DOS drivers, the
  393.             Linux driver has capability to autoIRQ: it uses the
  394.             first available IRQ line in {5,2/9,3,4}, selected each
  395.             time the card is 'ifconfig'ed. (Older driver versions
  396.             selected the IRQ at boot time.) The ioctl() call
  397.             in 'ifconfig' will return EAGAIN if no IRQ line is
  398.             available at that time.
  399.  
  400.             Some common problems that people have with the 503
  401.             are discussed in section 6.03.
  402.  
  403.         3c509
  404.             A fairly new card from 3Com. It's inexpensive and has
  405.             excellent performance for a non-bus-master design. The
  406.             drawbacks are that it _requires_ very low interrupt
  407.             latency, and it isn't rated for bus speeds greater than
  408.             8Mhz.
  409.  
  410.             A working 3c509 driver was first included as an
  411.             alpha-test version in the 0.99pl13 kernel sources.
  412.             It is now in the standard kernel.
  413.  
  414.             The 3c509 has a tiny Rx buffer, causing the driver to
  415.             occasionally drop a packet if interrupts are masked for
  416.             too long. To minimize this problem, the driver should
  417.             be completely rewritten to use predictive interrupts.
  418.             (Note: performance re-writes of working drivers are low
  419.             priority unless there is some particular incentive or
  420.             need.)
  421.  
  422.             There is also an alpha version of a Linux 3c509
  423.             diagnostic and EEPROM setup program, but for now
  424.             users that don't like the defaults should use the
  425.             MS-DOS EEPROM setup program.
  426.  
  427.         3c579
  428.             The EISA version of the 509. The current EISA version
  429.             uses the same 16 bit wide chip rather than a 32 bit
  430.             interface, so the performance increase isn't stunning.
  431.             The EISA probe code was added to 3c509.c for pl14.
  432.             We would be interested in hearing progress reports
  433.             from any 3c579 users. (Read the above 3c509
  434.             section for info on the driver.)
  435.  
  436.             Cameron Spitzer writes:
  437.             "The 3C579 (Etherlink III EISA) should be configured
  438.             as an EISA card. The IO Base Address (window 0
  439.             register 6 bits 4:0) should be 1f, which selects EISA
  440.             addressing mode. Logic outside the ASIC decodes the
  441.             IO address s000, where s is the slot number. I don't
  442.             think it was documented real well. Except for its IO
  443.             Base Address, the '579 should behave EXACTLY like the
  444.             '509 (EL3 ISA), and if it doesn't, I want to hear
  445.             about it (at my work address).
  446.  
  447.             I will leave it to the Real Programmers to suggest
  448.             the right hack to /usr/src/linux/net/inet/3c509.c to
  449.             take care of the EISA case.
  450.  
  451.             (Note that the drivers now reside in ./drivers/net/
  452.              and *not* ./inet/net/ --- pg.)
  453.  
  454.             Beware that if you put a '509 in EISA addressing mode
  455.             by mistake and save that in the EEPROM, you'll have
  456.             to use an EISA machine or the infamous Test Via to
  457.             get it back to normal, and it will conflict at IO
  458.             location 0 which may hang your ISA machine. It's not
  459.             my job to say whether this is a bug or feature, but I
  460.             have heard loud and clear that customers don't like
  461.             it and I don't think we'll do it that way again."
  462.  
  463.         3c589
  464.  
  465.             Look for support for this PCMCIA card in the near
  466.             future. It already works, even with "hot-swapping"
  467.             but the problem of separating the PCMCIA controller
  468.             chipset code from the actual driver code is still
  469.             being worked on. See the section on PCMCIA support
  470.             (7.02) for more info. Brave PCMCIA hackers can 
  471.             check out the alpha driver found in the usual place.
  472.  
  473.     Unsupported:
  474.  
  475.         3c501
  476.             Too brain-damaged to use. Available surplus from many
  477.             places. Avoid it like the plague. Again, do not
  478.             purchase this card, even as a joke. It's performance
  479.             is horrible, and it breaks in many ways.
  480.  
  481.             (I have a standing offer: I'll pay $2 for each 3c501
  482.             shipped to me postpaid, but only if you include the
  483.             BNC 'T' connector and the jumpers. $2.50 if you just
  484.             send the 'T', jumpers, and address PROM and promise to
  485.             destroy the board. -djb)
  486.  
  487.             Cameron L. Spitzer of 3Com said:
  488.             "I'm speaking only for myself here, of course, but I
  489.             believe 3Com advises against installing a 3C501 in a
  490.             new system, mostly for the same reasons Donald has
  491.             discussed. You probably won't be happy with the
  492.             3C501 in your Linux box. The data sheet is marked
  493.             "(obsolete)" on 3Com's Developers' Order Form, and
  494.             the board is not part of 3Com's program for sending
  495.             free Technical Reference Manuals to people who need
  496.             them. The decade-old things are nearly
  497.             indestructible, but that's about all they've got
  498.             going for them any more."
  499.  
  500.             For those not yet convinced, the 3c501 can only do one
  501.             thing at a time -- while you are removing one packet
  502.             from the single-packet buffer it cannot receive
  503.             another packet, nor can it receive a packet while are
  504.             loading a transmit packet. This was fine for a
  505.             network between two 8088-based computers where
  506.             processing each packet and replying took 10's of
  507.             msecs, but modern networks send back-to-back
  508.             packets for almost every transaction.
  509.  
  510.             Having read this far, you must be persistent, so you
  511.             get let in on a secret. As of pl13, some more of
  512.             the hardware problems were "compensated for".
  513.  
  514.             Ie. in a fit of madness I wasted a whole day updating
  515.             my 3c501 driver and then trying to track down a few
  516.             more of the 3c501 glitches. It now works well enough
  517.             to NFS mount filesystems, but the receiver still
  518.             occasionally hangs. I'm mostly certain that this is
  519.             a hardware bug. When it hangs, the next set of
  520.             outgoing packets will reset the board, but that's
  521.             only useful if you have something occasionally
  522.             generating outgoing packets.
  523.  
  524.             The driver is now in the std. kernel, but under the
  525.             following conditions: This is unsupported code. I
  526.             know my usual copyright says all the code is
  527.             unsupported, but this is _really_ unsupported. I
  528.             DON'T want to see bug reports, and I'll accept bug
  529.             fixes only if I'm in a good mood that day.
  530.  
  531.             I don't want to see a fest of "Linux ethercards for
  532.             sale" postings. A bunch of people have bought dozens
  533.             of "dumpster special" 3c501s, and they hope to sell
  534.             them at rip-off prices. A 3c501 is barely worth the
  535.             shipping cost, and if I see people trying to sell
  536.             them here by claiming "supported by Linux" I _will_
  537.             flame them. They are _not_ supported by Linux.
  538.  
  539.             I don't want to be flamed later for putting out bad
  540.             software. I don't know all all of the 3c501 bugs,
  541.             and I know this driver only handles a few that I've
  542.             been able to figure out. It has taken a long
  543.             intense effort just to get the driver working this
  544.             well.
  545.  
  546.             That said, you will find it included in "config.in"
  547.             No special mods are needed to use it with pl15
  548.             or greater kernels. Jumper your card to 0x280.
  549.  
  550.             AutoIRQ works, DMA isn't used, the autoprobe only
  551.             looks at 0x280, the debug level is set with the third
  552.             boot-time argument. You'll probably want to change
  553.             the default EL_DEBUG to '2'.
  554.  
  555.             Once again, THE USE OF A 3c501 IS STRONGLY DISCOURAGED
  556.             and it is NOT SUPPORTED BY LINUX.
  557.  
  558.  
  559.         3c505
  560.             An Intel-based ethercard with no driver available
  561.             at present. (Not a very common card.)
  562.  
  563.         3c507
  564.             This card uses one of the Intel chips, and the
  565.             development of the driver is closely related to
  566.             the development of the Intel Ether Express driver.
  567.             The driver has been included in the standard
  568.             release of pl15. You will have to un-comment
  569.             the 3c507 line in "config.in" -- in case you
  570.             didn't figure it out already, it is commented
  571.             out because it is still being tested.
  572.  
  573.             Technical information is available in section 5.06,
  574.             and if you have experience in writing drivers, see
  575.             section 5.07 as well.
  576.  
  577. 2.02 Western Digital / SMC
  578.  
  579.     The ethernet part of Western Digital has been bought by SMC. The
  580.     SMC Elite and SMC Elite Plus are the same as late-model WD8003
  581.     and WD8013 cards. Note that the SMC Elite Ultra is *not* the
  582.     same as the plain SMC Elite / WD8013 card. (see below)
  583.  
  584.     Supported:
  585.  
  586.         WD8003, WD8013, SMC Elite, SMC Elite Plus
  587.             A shared memory design by Western Digital. The
  588.             8 bit 8003 is slightly less expensive, but only
  589.             worth the savings for light use. Over the
  590.             years the design has added more registers and an
  591.             EEPROM. Clones usually go by the '8013' name, and
  592.             usually use a non-EEPROM (jumpered) design. This part
  593.             of WD has been sold to SMC, so you'll usually see
  594.             something like SMC/WD8013 or SMC Elite Plus (WD8013).
  595.             The shared memory makes the cards 10-20% faster,
  596.             especially with larger packets. More importantly
  597.             (to me at least) it avoids a few bugs in the
  598.             programmed-I/O mode of the 8390, allows safe
  599.             multi-threaded access to the packet buffer, and
  600.             doesn't have a programmed-I/O data register that
  601.             hangs your machine during warm-boot probes.
  602.  
  603.         SMC Elite 16 ULTRA
  604.             This ethercard is based on a new chip from SMC, with
  605.             a few new features. While it has a mode that is
  606.             similar to the older SMC ethercards, it's not
  607.             compatible with the old WD80*3 drivers. However, in
  608.             this mode it shares most of its code with the other
  609.             8390 drivers, while operating somewhat faster than a
  610.             WD8013 clone.
  611.  
  612.             Some of the device probe checks in pl14 were too
  613.             too strict, causing some cards to not be detected
  614.             every time. This was fixed for pl14a, and hence is
  615.             fine for pl15. Since part of the Ultra "looks" like
  616.             an 8013, the Ultra probe is supposed to find an
  617.             Ultra before the wd8013 probe has a chance to
  618.             mistakenly identify it.
  619.  
  620.             Std. as of pl14, and made possible by documentation
  621.             and ethercard loan from kamstra@ccmail.west.smc.com,
  622.             Duke Kamstra. If you plan on using an Ultra with Linux
  623.             send him a note of thanks to let him know that there
  624.             are Linux users out there!
  625.  
  626.             I'm considering writing a separate driver for the
  627.             Ultra's "Altego" mode which allows chaining transmits
  628.             at the cost of inefficient use of receive buffers,
  629.             but that will probably not happen right away.
  630.             Performance re-writes of working drivers are low
  631.             priority unless there is some particular incentive
  632.             or need.
  633.  
  634. 2.03 NExxxx
  635.  
  636.     The prefix "NE" came from Novell Ethernet. Novell followed the
  637.     cheapest NatSemi databook design and sold the manufacturing rights
  638.     (spun off?) Eagle, just to get reasonably-priced ethercards into
  639.     the market.
  640.  
  641.     Supported:
  642.  
  643.         NE1000, NE2000
  644.             The now-generic name for a bare-bones design around
  645.             the NatSemi 8390. They use programmed I/O rather than
  646.             shared memory, leading to easier installation but
  647.             slightly lower performance and a few problems. Again,
  648.             the savings of using an 8 bit NE1000 over the NE2000
  649.             are only warranted if you expect light use. Some
  650.             recently introduced NE2000 clones use the National
  651.             Semiconductor "AT/LANTic" 83905 chip, which offers
  652.             a shared memory mode similar to the 8013 and EEPROM
  653.             or software configuration. Some problems can arise
  654.             with poor clones. See the question and answer section
  655.             later in this document, and the section on clones.
  656.             I have written a NE2000 diagnostic program, but it
  657.             is still presently in alpha test. (ne2k)
  658.  
  659.         NE1500, NE2100
  660.             The AT1500 driver, recently added to the list of
  661.             supported cards, also supports the NE1500, NE2100 and
  662.             clones. The driver shipped with pl12 kernel doesn't
  663.             detect non-AT1500 cards with autoprobe, but will work
  664.             fine if you specify the base address explicitly and
  665.             jumper for DMA channel 5. Read the Allied Telesis
  666.             section for more information on LANCE based cards.
  667.  
  668. 2.04 Hewlett Packard
  669.  
  670.     The 272** cards use programmed I/O, similar to the NE*000 boards,
  671.     but the data transfer port can be "turned off" when you aren't
  672.     accessing it, avoiding problems with autoprobing drivers.
  673.  
  674.     Thanks to Glenn Talbott for cleaning up the confusion in this
  675.     section regarding the version numbers of the HP hardware, and
  676.     adding lots of new info.
  677.  
  678.     Supported:
  679.  
  680.         27245A
  681.             8 Bit 8390 based 10BaseT, not recommended for all the
  682.             8 bit reasons. It was re-designed a couple years
  683.             ago to be highly integrated which caused some
  684.             changes in initialization timing which only
  685.             affected testing programs, not LAN drivers. (The
  686.             new card is not 'ready' as soon after switching
  687.             into and out of loopback mode.)
  688.  
  689.         27247B, 27252A
  690.             The 47B is a 16 Bit 8390 based 10BaseT w/AUI, and
  691.             the 52A is a 16 Bit 8390 based ThinLAN w/AUI.
  692.             These cards are high performers (3c509 speed) without
  693.             the interrupt latency problems (32K onboard RAM for TX
  694.             or RX packet buffering). They both offer LAN
  695.             connector autosense, data I/O in I/O space (simpler) or
  696.             memory mapped (faster), and soft configuration. 27247B
  697.             was rated Best for ISA Servers by PC Mag this year.
  698.  
  699.         27247A
  700.             This is the older model that existed before the "B".
  701.             Two versions 27247-60001 or 27247-60002 have part
  702.             numbers marked on the card. Functionally the same to
  703.             the LAN driver, except bits in ROM to identify
  704.             boards differ. -60002 has a jumper to allow
  705.             operation in non-standard ISA busses (chipsets
  706.             that expect IOCHRDY early.)
  707.  
  708.         HP J2405A
  709.             These are lower priced, and slightly faster than the
  710.             27247B/27252A, but are missing some features, such
  711.             as AUI, ThinLAN connectivity, and boot PROM socket.
  712.             This is a fairly generic LANCE design, but a minor
  713.             design decision makes it incompatible with a generic
  714.             "NE2100" driver. Special support for it (including
  715.             reading the DMA channel from the board) is in pl14
  716.             and up, thanks to information provided by HP's Glenn
  717.             Talbott, gt@hprnd.rose.hp.com. Note that the pre pl14
  718.             driver should not be used with this card.
  719.  
  720.             More information on LANCE based cards can be found in
  721.             section 5.08.
  722.  
  723. 2.05 D-Link
  724.  
  725.     Supported:
  726.  
  727.         DE-600
  728.             Laptop users and other folk who might want a quick
  729.             way to put their computer onto the ethernet may want
  730.             to use this. The driver was included with the default
  731.             kernel source tree as of pl12 and possibly earlier.
  732.             Bjorn Ekwall <bj0rn@blox.se> wrote the original.
  733.             Expect about 80kb/s transfer speed from this via the
  734.             parallel port. You should read the README.DLINK
  735.             file in the kernel source tree. The latest release
  736.             of this driver is v0.32, and it is included in the
  737.             standard kernel of pl15
  738.  
  739.         DE-620
  740.             Same as the DE-600, only with two output formats.
  741.             (BNC and RJ-45, I would assume... ????)
  742.             Bjorn has just finished a driver for this model,
  743.             for kernel versions 1.1.X -- but it can be patched
  744.             into 1.0.X kernels if you _really_ wanted to.
  745.  
  746.         DE-650
  747.             Some people have been using this PCMCIA card for
  748.             some time now with their notebooks. Note however,
  749.             that using a PCMCIA card with Linux is not trivial.
  750.             See the section on networking with a notebook for
  751.             more information on PCMCIA cards. This driver is
  752.             *not* part of the standard kernel.
  753.  
  754.         DE-100, DE-200, DE-220-T
  755.             The manual says that it is 100% compatible with the
  756.             NE2000. This is not true. You should call them and
  757.             tell them you are using their card with Linux, and they
  758.             should correct their documentation. Some pre-0.99pl12
  759.             driver versions may have trouble recognizing the DE2**
  760.             series as 16 bit cards, and these cards are the most
  761.             widely reported as having the spurious transfer address
  762.             mismatch errors. Note that there are cards from
  763.             Digital (DEC) that are also named DE100 and DE200,
  764.             but the similarity stops there.
  765.  
  766. 2.06 Cabletron
  767.  
  768.     Yes, another one of these companies that won't release its
  769.     programming information. They waited for months before actually
  770.     confirming that all their information was proprietary, deliberately
  771.     wasting my time. Avoid their cards like the plague if you can.
  772.     Also note that some people have phoned Cabletron, and have been
  773.     told things like "a D. Becker is working on a driver
  774.     for linux" -- making it sound like I work for them. This is
  775.     NOT the case. Anyway, if I were working for them, or even if
  776.     I had signed a ND agreement, I wouldn't be able to tell
  777.     everyone what a sleazy design the E2100 is. (See below.)
  778.  
  779.     If you feel like asking them why they don't want to release their
  780.     info so that people can use their cards, write to support@ctron.com
  781.     Tell them that you are using Linux, and are disappointed that they
  782.     don't support open systems. (See section 9.01)
  783.  
  784.     Supported: (...well, not *really* supported)
  785.  
  786.         E10**, E10**-x, E20**, E20**-x
  787.             These are NEx000 almost-clones that are reported to
  788.             work with the standard NEx000 drivers, thanks to a
  789.             ctron-specific check during the probe. If there are
  790.             any problems, they are unlikely to be fixed, as the
  791.             programming information is unavailable.
  792.  
  793.  
  794.         E21**
  795.             Again, there is not much one can do when the
  796.             programming information is proprietary.
  797.             The E2100 is a poor design. Whenever it maps its
  798.             shared memory in during a packet transfer, it
  799.             maps it into the *whole 128K region*! That means you
  800.             *can't* safely use another interrupt-driven shared
  801.             memory device in that region, including another E2100.
  802.             It will work _most_ of the time, but every once in
  803.             a while it will bite you. (Yes, this problem can
  804.             be avoided by turning off interrupts while
  805.             transferring packets, but that will almost certainly
  806.             lose clock ticks.
  807.  
  808.             Also, don't confuse the E2100 for a NE2100 clone.
  809.             The E2100 is a shared memory NatSemi DP8390 design,
  810.             roughly similar to a brain-damaged WD8013, whereas
  811.             the NE2100 (and NE1500) use a bus-mastering AMD
  812.             LANCE design.
  813.  
  814.             There is an alpha test driver available (even though
  815.             I shouldn't have bothered) in the normal place
  816.             (see the FAQ section) -- e2100.c -- let me know if
  817.             you use it, and how it works. Don't forget to
  818.             un-comment the line in config.in.
  819.  
  820. 2.07    Allied Telesis
  821.  
  822.     Allied Telesis is the worlds largest maker of separate
  823.     transceivers thanks to their low prices, and they now have a
  824.     series of low-cost ethercards using the 79C960 version of the AMD
  825.     LANCE. These are bus-master cards, and thus probably the fastest
  826.     ISA bus ethercards available (although the 3c509 has lower latency
  827.     thanks to predictive interrupts).
  828.  
  829.     Supported:
  830.  
  831.         AT1500
  832.             The driver for the AT1500 series is new in the
  833.             0.99pl12 kernel, but it won't work "out-of-the-box"
  834.             with >16M machines. (NB This isn't a fundamental
  835.             limitation, so stop pointing and laughing at the ISA
  836.             bus. The driver just needs a hook to allocate
  837.             low-memory buffers for the bus-master DMA, and should
  838.             be just as fast on >16M systems. It can be easily
  839.             fixed by initializing the LANCE driver with the
  840.             character devices, but this fix depends on the
  841.             resolution of the networking code uncertainty.)
  842.  
  843.             For the ISA bus master mode all structures used
  844.             directly by the LANCE, the initialization block,
  845.             Rx and Tx rings, and data buffers, must be accessible
  846.             from the ISA bus, i.e. in the lower 16M of real memory.
  847.             This is a problem for current Linux kernels on >16M
  848.             machines. The network devices are initialized after
  849.             memory initialization, and the kernel doles out memory
  850.             from the top of memory downward. The current solution
  851.             is to have a special network initialization routine
  852.             that's called before memory initialization; this will
  853.             eventually be generalized for all network devices.
  854.             Low-memory "bounce-buffers" are used when needed.
  855.  
  856.             This driver should also work with NE1500 and NE2100
  857.             clones.
  858.             
  859.             Future driver versions may figure out a way to
  860.             autoDMA. Although there is no autoDMA (until I verify
  861.             that autoDMA is safe and reliable), some versions
  862.             (pl13) allow passing the DMA channel at boot-time via
  863.             LILO. (Boot-time parameters can be made permanent in
  864.             LILO v13+, read the docs.) The DMA channel otherwise
  865.             defaults to DMA5.
  866.  
  867.             In pl14, there was a buglet that would hang some
  868.             machines with AT1500 like cards. Either get pl15
  869.             or newer, or go into ./init/main.c and move the
  870.             sti(); and claibrate_delay(); (near line 366) in
  871.             *front of* the #ifdef CONFIG_INET, instead of
  872.             after it.
  873.             
  874.             Please report the exact chip used by your ethercard,
  875.             and any success or failure you have. This driver is
  876.             still young, and I've gotten few reports.
  877.  
  878.             More information on AMD LANCE based Ethernet cards
  879.             can be found in section 5.08.
  880.  
  881.         AT1700
  882.             The Allied Telesis AT1700 series ethercards are based
  883.             on the Fujitsu MB86965. This chip uses a programmed
  884.             I/O interface, and a pair of fixed-size transmit
  885.             buffers. This allows small groups of packets to sent
  886.             be sent back-to-back, with a short pause while
  887.             switching buffers.
  888.             
  889.             A unique feature is the ability to drive 150ohm STP
  890.             (Shielded Twisted Pair) cable commonly installed for
  891.             Token Ring, in addition to 10baseT 100ohm UTP
  892.             (unshielded twisted pair).
  893.             
  894.             A mis-feature to watch out for is that the current
  895.             production version silently wires to DMA channel 5,
  896.             rendering it useless. No device driver will be
  897.             written using DMA if installing a second card into
  898.             the machine breaks both, and the only way to disable
  899.             the DMA is with a knife.
  900.             
  901.             The at1700 driver is included in the standard pl15
  902.             kernel source tree.
  903.             
  904. 2.08 Arcnet
  905.  
  906.     There is no Arcnet driver for Linux. Feel free to write a driver. With
  907.     the very low cost and better performance of ethernet, I expect that
  908.     most places will be giving away their Arcnet hardware for free,
  909.     resulting in a lot of home systems with Arcnet.
  910.  
  911.     An advantage of Arcnet is that all of the cards have identical
  912.     interfaces, so once a driver is available it will work for everyone.
  913.  
  914.     If you are feeling brave, there is "arcnet.c" in the usual place
  915.     (see the FAQ section if you don't know where that is) that you
  916.     can play with. Don't expect to just plug in this file and have
  917.     everything work. However it may prove to be a good starting point
  918.     for a bored driver-hacker. Also look at Russ Nelson's "arcether"
  919.     packet driver.
  920.  
  921. 2.09 Digital / DEC
  922.  
  923.     Supported: DE200, DE210, DE202, DE100, DEPCA rev E
  924.  
  925.         As of linux v1.0, there is a driver included as standard
  926.         for these cards. It was written by David C. Davies.
  927.         There is documentation included in the source file
  928.         "depca.c", which includes info on how to use more than
  929.         one of these cards in a machine.
  930.  
  931.         If you have / want to use the pl15 kernel or older,
  932.         then you will have to use Peter Bauer's driver.
  933.         It can be found as a separate patch called depca-0.8.tar.gz.
  934.         You will have to un-comment the DEPCA line in "config.in"
  935.         after installing the patch. You can find the patch on
  936.         ftp.funet.fi, /pub/OS/Linux/BETA/depca/depca-0.8.tar.gz
  937.         This version resets the card upon close so that you can
  938.         use it with broken DOS drivers after a warm boot.
  939.  
  940.  
  941.     Unsupported: Digital Etherlink III
  942.  
  943.         Peter Bauer said that "the new etherlink III seems to
  944.         be a break: No official docu from DEC as far as today,
  945.         other (incompatible??) hardware used, and (no joke) (at least
  946.         for the first delivered cards) also a sharp knife necessary
  947.         to get the card working (needs cut of some irq lines ...)
  948.         As far as I know, lots of DEC Employees use Linux (at least
  949.         for hobby purposes) and the depca-driver, because its a
  950.         de-facto standard in DEC, so I encourage any DEC-employee
  951.         reading this to check wether my writing is true, and to
  952.         support sources of information about the etherworks-III."
  953.  
  954. 2.10 Intel Ethernet Cards
  955.  
  956.     Supported: Ether Express
  957.  
  958.         This card uses the intel i82586. (Surprise, huh?)
  959.         The driver is in the standard release of pl15.
  960.         However, you will have to uncomment the line in
  961.         "config.in" to use it. -- yes, this line is
  962.         commented out for a reason. The driver is still
  963.         in the testing phases, as of v1.0 as well.
  964.  
  965.         There is some technical information available on
  966.         the i82586 in section 5.06, and also in the
  967.         source code for the driver "eexpress.c". Don't
  968.         be afraid to read it. ;-)
  969.  
  970.         The rason is that the driver works well with slow machines,
  971.         but the i82586 occasionally hangs from the packet buffer
  972.         contention that a fast machine can cause. I'll have
  973.         to find a work-around before releasing the driver.
  974.         One reported hack fix is to change all of the outw()
  975.         calls to outw_p().
  976.  
  977.  
  978.         If you do try the driver please post or send a report. 
  979.         Include the kind of machine you are trying it with,
  980.         and how heavily loaded your network is.
  981.  
  982.  
  983. 2.11 PureData
  984.  
  985.     Supported: PDUC8028, PDI8023
  986.  
  987.         The PureData PDUC8028 and PDI8023 series of cards are reported
  988.         to work, thanks to special probe code contributed by Mike
  989.         Jagdis <jaggy@purplet.demon.co.uk>. The support is integrated
  990.         with the WD driver.
  991.  
  992. 2.12 Xircom
  993.  
  994.     Another group that won't release documentation. No cards
  995.     supported. Don't look for any support in the future unless
  996.     they release their programming information. And this is
  997.     highly unlikely, as they *forbid* you from even reverse-
  998.     engineering their drivers. If you are already stuck with one,
  999.     see if you can trade it off on some DOS (l)user. Read section
  1000.     9.01 if you are bored.
  1001.  
  1002.     And if you just want to verify that this is the case, you can
  1003.     reach Xircom at 1-800-874-7875 or +1-818-878-7600.
  1004.  
  1005. 2.13 Zenith
  1006.  
  1007.     The built-in Z-Note network adaptor is based on the Intel
  1008.     i82593 using two DMA channels. There is an alpha driver
  1009.     available at the moment. Look for "znet.c" in the usual
  1010.     place. (See the FAQ section if you don't know where that
  1011.     is.) See section 5.06 for more technical information.
  1012.     Also note that the IBM ThinkPad 300 is compatible with the Z-Note.
  1013.  
  1014. 2.14 Racal-Interlan
  1015.  
  1016.     Note: I have been told that the following two drivers are 
  1017.     for patchlevel 11, and hence are a bit dated. The original
  1018.     author is Michael Hipp, and can be reached at the following addr:
  1019.         zxmhp01@student.uni-tuebingen.de
  1020.  
  1021.     NI52**
  1022.  
  1023.     There is an alpha driver for the NI5210 floating about.
  1024.     (last seen on tsx-11.mit.edu /pub/linux/ALPHA/ni/ni52.tar.gz)
  1025.     This card also uses one of the Intel chips. See section
  1026.     5.06 for more technical information.
  1027.  
  1028.     NI65**
  1029.  
  1030.     There is also a driver for the LANCE based NI6510, and it
  1031.     can be found in the same place as the NI5210 driver above.
  1032.     I am not sure how much work it would be to hack the current
  1033.     LANCE driver in the kernel to support this card. If anyone
  1034.     has done so, let me know.
  1035.  
  1036. 2.15 AMD LANCE (79C960)
  1037.  
  1038.     There really is no AMD ethernet card. You are probably reading this
  1039.     because the only markings you could find on your card said AMD
  1040.     and the above number. The above number refers to a chip from AMD
  1041.     that is the heart of many ethernet cards. See the section on the
  1042.     Allied Telesis AT1500, the NE1500/2100 and the information in
  1043.     section 5.08. Chances are that the existing LANCE driver will work
  1044.     with all AMD LANCE based cards. (...except perhaps the above
  1045.     mentioned NI6510 ???)
  1046.     
  1047. 2.16 AT-Lan-Tec / RealTek Pocket adaptor
  1048.  
  1049.     This is a generic, low-cost OEM pocket adaptor being sold by
  1050.     AT-Lan-Tec, and (likely) a number of other suppliers. A
  1051.     driver for it is included in the standard pl15 kernel.
  1052.     Note that there is substantial information contained in the
  1053.     driver source file "atp.c" which presently lives in ./drivers/net/
  1054.     BTW, the adaptor (AEP-100L) has both 10baseT and BNC connections!
  1055.     You can reach AT-Lan-Tec at 1-301-948-7070. Ask for the model
  1056.     that works with Linux, or ask for "Vincent Bono" in tech support.
  1057.     In the Netherlands a compatible adaptor is sold under the name SHI-TEC
  1058.     PE-NET/CT, and sells for about $125. The vendor was Megasellers.
  1059.     They state that they do not sell to private persons, but I just
  1060.     gave them the name of my home institute. No questions asked.
  1061.     They are: Megasellers, Vianen, The Netherlands. They always
  1062.     advertise in Dutch computer magazines. In Germany, a similar
  1063.     adaptor comes as a no-brand-name product. Prolan 890b, no
  1064.     brand on the casing, only a roman II. Resellers can get a price
  1065.     of about $130, including a small wall transformer for the power.
  1066.  
  1067.     Physical Description
  1068.  
  1069.     The adaptor is "normal size" for the product class, about 57mm wide,
  1070.     22mm high tapering to 15mm high at the DB25 connector, and 105mm long
  1071.     (120mm including the BNC socket). It's switchable between the RJ45
  1072.     and BNC jacks with a small slide switch positioned between the two:
  1073.     a very intuitive design.
  1074.  
  1075.     It's powered by a lightweight 5V "wall brick" adaptor that terminates
  1076.     in a standard 5.0mm power connector. I measured an unconnected
  1077.     quiescent power draw of 102ma for BNC and 84ma for 10baseT. I hooked
  1078.     the pocket adaptor up to my home thinnet and started FTPing a large
  1079.     file. The power measurements were:
  1080.  
  1081.         idle, connected        99ma @ 5.1V
  1082.         active, connected    107ma @ 5.1V
  1083.  
  1084.     This was measured using a Fluke 8026B true-RMS multimeter, so I'm
  1085.     pretty confident the numbers are good. This power draw is low enough
  1086.     that you could buy or build a cable to take the 5V directly from the     
  1087.     keyboard/mouse port available on many laptops. (Bonus points here
  1088.     for using a standardized power connector instead of proprietary one.)
  1089.  
  1090. 2.17 Ansel
  1091.  
  1092.     Supported: AC3200 EISA
  1093.     
  1094.         This driver is not included in the pl15 kernel. To
  1095.         *alpha* test it, get the files ac3200.[c,h] from
  1096.         where you usually get alpha drivers (see the FAQ in
  1097.         this document if you dont know) and uncomment the
  1098.         line in config.in for the ac3200. If you use it,
  1099.         please let me know how things work out.
  1100.  
  1101. 2.18 DFI
  1102.  
  1103.     Supported: DFINET-300 (NE1000) and DFINET-400 (NE2000)
  1104.  
  1105.         These cards are now detected (as of pl15) thanks to
  1106.         Eberhard Moenkeberg <emoenke@gwdg.de> who noted that
  1107.         they use "DFI" in the first 3 bytes of the prom, instead
  1108.         of using 0x57 in bytes 14 and 15, which is what all the
  1109.         NE1000 and NE2000 cards use.
  1110.  
  1111. 2.19 IBM
  1112.  
  1113.     Supported: IBM Thinkpad 300
  1114.  
  1115.         This is compatible with the Intel based Zenith Z-note.
  1116.         See the above section on the Zenith for more info.
  1117.  
  1118. 3. Clones of popular Ethernet cards.
  1119.  
  1120.     Due to the popular design of some cards, different companies will
  1121.     make "clones" or replicas of the original card. However, one must
  1122.     be careful, as some of these clones are not 100% compatible, and
  1123.     can be troublesome. Some common problems with "not-quite-clones"
  1124.     are noted in the question and answer section of this document.
  1125.  
  1126.     Also note that if your card isn't mentioned here, that really
  1127.     means nothing. Chances are that even if it is only a half decent
  1128.     clone of the original, then it will still work.
  1129.  
  1130. 3.01 WD80x3 clones
  1131.  
  1132.     The following clones are reported to work with the standard
  1133.     WD80x3 driver:
  1134.  
  1135.     AT-LAN-TEC 8013
  1136.     PureData (not a 8013 clone, but the 8013 driver has special code)
  1137.     LANNET LEC-45
  1138.     PE-8013 (WD-8013 Compatible)
  1139.  
  1140. 3.02 NE2000 clones
  1141.  
  1142.     The following clones are reported to work with the standard
  1143.     NE2000 driver:
  1144.  
  1145.     Accton NE2000 (might not get detected at boot, see section 6)
  1146.     Alta Combo NE2000 clone
  1147.     Aritsoft LANtastic AE-2 (OK, but has flawed error-reporting registers)
  1148.     Asante Etherpak 2001/2003
  1149.     AT-LAN-TEC NE2000 clone (uses Winbond chip that traps SCSI drivers)
  1150.     Cabletron products: E10**, E10**-x, E20**, E20**-x
  1151.     Cnet UTP 10baseT (NE 2000 emulation)
  1152.     D-Link Ethernet II (bad clones, but the driver checks for them)
  1153.     4-Dimension FD0490 EtherBoard16
  1154.     LTC E-NET/16 P/N: 8300-200-002 (lipka@lip.hanse.de)
  1155.     Network Solutions HE-203
  1156.     SIIG Inc E-Lan/200 (NE 2000 comp.)
  1157.     SVEC 4 Dimension Ethernet
  1158.  
  1159. 4. Cables, coax, twisted pairs etc.
  1160.  
  1161.     If you are starting a network from scratch, it's considerably less
  1162.     expensive to use thin ethernet, RG58 co-ax cable with BNC connectors,
  1163.     than old-fashioned thick ethernet, RG-5 cable with N connectors, or
  1164.     10baseT, twisted pair telco-style cables with RJ-45 eight wire "phone"
  1165.     connectors.
  1166.  
  1167. 4.01 Thin Ethernet (thinnet)
  1168.  
  1169.     Thin ethernet is the "ether of choice". The cable is inexpensive. If
  1170.     you are making your own cables solid-core RG58A is $0.09/ft. and
  1171.     stranded RG58AU is $0.15/ft. Twist-on BNC connectors are < $2 ea.,
  1172.     and other misc. pieces are similarly inexpensive. It is essential
  1173.     that you properly terminate each end of the cable with 50 ohm
  1174.     terminators, so budget $2 ea. for a pair. It's also vital that
  1175.     your cable have no "stubs" -- the 'T' connectors must be attached
  1176.     directly to the ethercards. The only drawback is that if you have
  1177.     a big loop of machines connected together, and some bonehead breaks
  1178.     the loop by taking one cable off the side of his tee, the whole
  1179.     network goes down because it sees an infinite impedance (open
  1180.     circuit) instead of the required 50 ohm termination. Note that
  1181.     you can remove the tee piece from the card itself without killing
  1182.     the whole subnet, as long as you don't remove the cables from the
  1183.     tee itself. Of course this will disturb the machine that you
  1184.     pull the actual tee off of. 8-) And if you are doing a small
  1185.     network of two machines, you *still* need the tees and the 50 ohm
  1186.     terminators -- you *can't* just cable them together!
  1187.     
  1188.  
  1189. 4.02 Twisted pair
  1190.  
  1191.     Twisted pair networks require active hubs, which start around $200,
  1192.     and the raw cable cost can actually be higher than thinnet. They are
  1193.     usually sold using the claim that you can use your existing telephone
  1194.     wiring, but it's a rare installation where that turns out to be the
  1195.     case. The claim that you can upgrade to higher speeds is also
  1196.     suspect, as most proposed schemes use higher-grade (read $$) cable and
  1197.     more sophisticated termination ($$$) than you would likely install on
  1198.     speculation. New gizmos are floating around which allow you to
  1199.     daisy-chain machines together, and the like. For example,
  1200.     Falleron sells EtherWave adaptors and transceivers. This device
  1201.     allows multiple 10baseT devices to be daisy-chained. They also
  1202.     sell a 3c509 clone that includes the EtherWave transceiver.
  1203.     The drawback is that it's more expensive and less reliable than a 
  1204.     cheap ($100-$150) mini-hub and another ethercard. IMO, you should
  1205.     either go for the hub approach or switch over to 10base2 thinnet.
  1206.  
  1207.     On the other hand, hubs are rapidly dropping in price, all 100Mb/sec
  1208.     ethernet proposals use twisted pair, and most new business
  1209.     installations use twisted pair. (This is probably to avoid the
  1210.     problem with idiots messing with the BNC's as described above.)
  1211.  
  1212.     If you are only connecting two machines, it is possible to avoid
  1213.     using a hub, by swapping the Rx and Tx pairs (1-2 and 3-6).
  1214.  
  1215.     Also, Russ Nelson adds that "New installations should use Category 5
  1216.     wiring. Anything else is a waste of your installer's time, as
  1217.     100Base-whatever is going to require Cat 5."
  1218.  
  1219. 4.03 Thick Ethernet
  1220.  
  1221.     Thick ethernet is mostly obsolete, and is usually used only to remain
  1222.     compatible with an existing implementation. You can stretch the rules
  1223.     and connect short spans of thick and thin ethernet together with a
  1224.     passive $3 N-to-BNC connector, and that's often the best solution to
  1225.     expanding an existing thicknet. A correct (but expensive) solution is
  1226.     to use a repeater in this case.
  1227.  
  1228. 5 Technical information.
  1229.  
  1230.     For those who want to play with the present drivers, or try to make
  1231.     up their own driver for a card that is presently unsupported, this
  1232.     information should be useful. If you do not fall into this category,
  1233.     then perhaps you will want to skip this section.
  1234.  
  1235. 5.01 Probed addresses
  1236.  
  1237.     While trying to determine what ethernet card is there, the following
  1238.     addresses are autoprobed, assuming the type and specs of the card
  1239.     have not been set in the kernel. As of 0.99pl12, doing a "make config"
  1240.     will ask what cards are to be supported. The file names below are
  1241.     in /usr/src/linux/drivers/net/
  1242.     ----------------------------------------------------------------
  1243.     wd.c:        0x300, 0x280, 0x380, 0x240
  1244.     3c501.c        0x280
  1245.     3c503.c:    0x300, 0x310, 0x330, 0x350, 0x250, 0x280, 0x2a0, 0x2e0
  1246.     3c507.c:    0x300, 0x320, 0x340, 0x280
  1247.     3c509.c:    <Special "ID Port" probe>
  1248.     at1700.c:    0x300, 0x280, 0x380, 0x320, 0x340, 0x260, 0x2a0, 0x240
  1249.     atp.c:        0x378, 0x278, 0x3bc
  1250.     depca.c        0x300, 0x200
  1251.     d_link.c:    0x378
  1252.     ne.c:        0x300, 0x280, 0x320, 0x340, 0x360
  1253.     hp.c:        0x300, 0x320, 0x340, 0x280, 0x2C0, 0x200, 0x240
  1254.     lance.c:    0x300, 0x320, 0x340, 0x360
  1255.     smc-ultra.c:    0x200, 0x220, 0x240, 0x280, 0x300, 0x340, 0x380
  1256.     eexpress.c:    0x300, 0x270, 0x320, 0x340
  1257.     3c509.c:    <Special "ID Port" probe>
  1258.     ----------------------------------------------------------------
  1259.     There are some NE2000 clone ethercards out there that are waiting black
  1260.     holes for autoprobe drivers. While many NE2000 clones are
  1261.     safe until they are enabled, some can't be reset to a safe mode.
  1262.     These dangerous ethercards will hang any I/O access to their
  1263.     "dataports". The typical dangerous locations are:
  1264.  
  1265.     Ethercard jumpered base     Dangerous locations (base + 0x10 - 0x1f)
  1266.         0x300 *                0x310-0x317
  1267.         0x320                0x330-0x337
  1268.         0x340                0x350-0x357
  1269.         0x360                0x370-0x377
  1270.  
  1271.     * The 0x300 location is the traditional place to put an ethercard, but
  1272.     it's also a popular place to put other devices (often SCSI
  1273.     controllers). The 0x320 location is often the next one chosen, but
  1274.     that's bad for for the AHA1542 driver probe. The 0x360 location is
  1275.     bad, because it conflicts with the parallel port at 0x378.
  1276.  
  1277.     To avoid these lurking ethercards, here are the things you can do:
  1278.  
  1279.     o Probe for the device's BIOS in memory space. This is easy
  1280.       and always safe, but it only works for cards that always have
  1281.       BIOSes, like primary SCSI controllers.
  1282.  
  1283.     o Avoid probing any of the above locations until you think
  1284.       you've located your device. The NE2000 clones have a reset range
  1285.       from <base>+0x18 to <base>+0x1f that will read as 0xff, so probe
  1286.       there first if possible. It's also safe to probe in the 8390
  1287.       space at <base>+0x00 - <base>+0x0f, but that area will return
  1288.       quasi-random values
  1289.  
  1290.     o If you must probe in the dangerous range, for instance if your
  1291.       target device has only a few port locations, first check that
  1292.       there isn't an NE2000 there. You can see how to do this by
  1293.       looking at the probe code in /usr/src/linux/net/inet/ne.c
  1294.  
  1295.  
  1296.     o Use the "reserve" boot time argument to protect volatile
  1297.       areas from being probed. See the information on using boot
  1298.       time arguments with Lilo in Section 9
  1299.  
  1300. 5.02 Skeleton / prototype driver
  1301.  
  1302.     OK. So you have decided that you want to write a driver for the
  1303.     Foobar Ethernet card, as you have the programming information,
  1304.     and it hasn't been done yet. (...these are the two main require-
  1305.     ments ;-) You can use the skeleton network driver that is provided
  1306.     with the Linux kernel source tree. It can be found in the file
  1307.     /usr/src/linux/drivers/net/skeleton.c as of 0.99pl15, and later.
  1308.  
  1309.     It's also very useful to look at the Crynwr (nee Clarkson) driver
  1310.     for your target ethercard, if it's available. Russ Nelson
  1311.     <nelson@crynwr.com> has been actively updating and writing these,
  1312.     and he has been very helpful with his code reviews of the current
  1313.     Linux drivers.
  1314.  
  1315. 5.03 Driver interface to the kernel
  1316.  
  1317.     Here are some notes that may help when trying to figure out what
  1318.     the code in the driver segments is doing, or perhaps what it is
  1319.     supposed to be doing.
  1320.  
  1321.     =====================================================
  1322.  
  1323.     int ethif_init(struct device *dev)
  1324.     {
  1325.         ...
  1326.         dev->send_packet = &ei_send_packet;
  1327.         dev->open = &ei_open;
  1328.         dev->stop = &ei_close;
  1329.         dev->hard_start_xmit = &ei_start_xmit;
  1330.         ...
  1331.     }
  1332.  
  1333.     int ethif_init(struct device *dev)
  1334.  
  1335.     This function is put into the device structure in Space.c. It is
  1336.     called only at boot time, and returns '0' iff the ethercard 'dev'
  1337.     exists.
  1338.  
  1339.     =====================================================
  1340.  
  1341.     static int ei_open(struct device *dev)
  1342.     static int ei_close(struct device *dev)
  1343.  
  1344.     This routine opens and initializes the board in response to an
  1345.     socket ioctl() usually called by 'config' or 'ifconfig'. It is
  1346.     commonly stuffed into the 'struct device' by ethif_init().
  1347.  
  1348.     The inverse routine is ei_close(), which should shut down the
  1349.     ethercard, free the IRQs and DMA channels if the hardware permits,
  1350.     and turn off anything that will save power (like the transceiver).
  1351.  
  1352.     (Note: As of NET-2, the relevant program is '/etc/ifconfig' - and
  1353.     the device *can* be turned off or on via passing 'up' or 'down'
  1354.     to 'ifconfig' from the command line with the device name.)
  1355.  
  1356.     =====================================================
  1357.  
  1358.     static int ei_start_xmit(struct sk_buff *skb, struct device *dev)
  1359.         dev->hard_start_xmit = &ei_start_xmit;
  1360.  
  1361.     This routine puts packets to be transmitted into the hardware. It
  1362.     is usually stuffed into the 'struct device' by ethif_init().
  1363.  
  1364.     When the hardware can't accept additional packets it should set
  1365.     the dev->tbusy flag. When additional room is available, usually
  1366.     during a transmit-complete interrupt, dev->tbusy should be cleared
  1367.     and the higher levels informed with mark_bh(INET_BH).
  1368.     [[Note: pre0.99.4 kernels didn't use this interface for all packets.]]
  1369.     
  1370.     =====================================================
  1371.  
  1372.     ...
  1373.         if (dev_rint(buffer, length, is_skb ? IN_SKBUFF : 0, dev))
  1374.            stats->rx_dropped++;
  1375.     ...
  1376.  
  1377.     A received packet is passed to the higher levels using dev_rint().
  1378.     If the unadorned packet data in a memory buffer, dev_rint will copy
  1379.     it into a 'skbuff' for you. Otherwise a new skbuff should be
  1380.     kmalloc()ed, filled, and passed to dev_rint() with the IN_SKBUFF flag.
  1381.  
  1382.     =====================================================
  1383.  
  1384.         int s=socket(AF_INET,SOCK_PACKET,htons(ETH_P_ALL));
  1385.         
  1386.         Gives you a socket receving every protocol type. Do recvfrom() calls
  1387.         to it and it will fill the sockaddr with device type in sa_family and
  1388.         the device name in sa_data[]. I don't know who originally invented 
  1389.         SOCK_PACKET for Linux (its been in for ages) but its superb stuff.
  1390.         You can use it to send stuff raw too (both only as root).
  1391.  
  1392.     =====================================================
  1393.  
  1394. 5.04 Interrupts and Linux
  1395.  
  1396.     There are two kinds of interrupt handlers in Linux:
  1397.     fast ones and slow ones. You decide what kind you are installing by
  1398.     the flags you pass to irqaction(). The fast ones, such as the serial
  1399.     interrupt handler, run with _all_ interrupts disabled. The normal
  1400.     interrupt handlers, such as the one for ethercard drivers, runs with
  1401.     other interrupts enabled.
  1402.  
  1403.     There is a two-level interrupt structure. The "fast" part handles the
  1404.     device register, removes the packets, and perhaps sets a flag.  After
  1405.     it is done, and interrupts are re-enabled, the slow part is run if the
  1406.     flag is set.
  1407.  
  1408.     The flag between the two parts is set by:
  1409.         mark_bh(INET_BH);
  1410.  
  1411.     Usually this flag is set within dev_rint() during a received-packet
  1412.     interrupt, and set directly by the device driver during a
  1413.     transmit-complete interrupt.
  1414.  
  1415.     You might wonder why all interrupt handlers cannot run in
  1416.     "normal mode" with other interrupts enabled. Ross Biro uses this
  1417.     scenario to illustrate the problem:
  1418.         o You get a serial interrupt, and start processing it.
  1419.           The serial interrupt is now masked.
  1420.         o You get a network interrupt, and you start transferring
  1421.           a maximum-sized 1500 byte packet from the card.
  1422.         o Another character comes in, but this time the interrupts
  1423.           are masked!
  1424.  
  1425.     The "fast" interrupt structure solves this problem by allowing
  1426.     bounded-time interrupt handlers to run without the risk of leaving
  1427.     their interrupt lines masked by another interrupt request.
  1428.  
  1429.     There is an additional distinction between fast and slow interrupt
  1430.     handlers -- the arguments passed to the handler. A "slow" handler is
  1431.     defined as
  1432.  
  1433.         static void
  1434.         handle_interrupt(int reg_ptr)
  1435.         {
  1436.             int irq = -(((struct pt_regs *)reg_ptr)->orig_eax+2);
  1437.             struct device *dev = irq2dev_map[irq];
  1438.         ...
  1439.  
  1440.     While a fast handler gets the interrupt number directly
  1441.  
  1442.         static void
  1443.         handle_fast_interrupt(int irq)
  1444.         {
  1445.         ...
  1446.  
  1447.     A final aspect of network performance is latency. The only board
  1448.     that really addresses this is the 3c509, which allows a predictive
  1449.     interrupt to be posted. It provides an interrupt response timer so
  1450.     that the driver can fine-tune how early an interrupt is generated.
  1451.  
  1452.     Alan Cox has some advice for anyone wanting to write drivers
  1453.     that are to be used with pl14 kernels and newer. He says:
  1454.  
  1455.     "Any driver intended for pl14 should use the new alloc_skb() and
  1456.     kfree_skbmem() functions rather than using kmalloc() to obtain an
  1457.     sk_buff. The new pl14 skeleton does this correctly. For drivers
  1458.     wishing to remain compatible with both sets the define
  1459.     'HAVE_ALLOC_SKB' indicates these functions must be used.
  1460.  
  1461.     In essence replace
  1462.  
  1463.         skb=(struct sk_buff *)kmalloc(size)
  1464.     with
  1465.  
  1466.         skb=alloc_skb(size)
  1467.  
  1468.     and
  1469.  
  1470.         kfree_s(skb,size)
  1471.  
  1472.     with
  1473.  
  1474.         kfree_skbmem(skb,size)    /* Only sk_buff memory though */
  1475.  
  1476.     Any questions should I guess be directed to me since I made the change.
  1477.     This is a change to allow tracking of sk_buff's and sanity checks on
  1478.     buffers and stack behaviour. If a driver produces the message
  1479.     'File: ??? Line: ??? passed a non skb!' then it is probable the
  1480.     driver is not using the new sk_buff allocators."
  1481.  
  1482.  
  1483. 5.05 Programmed I/O vs. shared mem. vs. slave/master DMA
  1484.  
  1485.     Ethernet is 10Mbs. (Don't be pedantic, 3Mbs and 100Mbs don't count.)
  1486.     If you can already send and receive back-to-back packets, you just
  1487.     can't put more bits over the wire. Every modern ethercard can receive
  1488.     back-to-back packets. The Linux DP8390 drivers come pretty close to
  1489.     sending back-to-back packets (depending on the current interrupt
  1490.     latency) and the 3c509 and AT1500 hardware has no problem at all
  1491.     automatically sending back-to-back packets.
  1492.  
  1493.     The ISA bus can do 5.3MB/sec (42Mb/sec), which sounds like more than
  1494.     enough. You can use that bandwidth in several ways:
  1495.  
  1496.     Programmed I/O
  1497.     ==============
  1498.       Pro: Doesn't use any constrained system resources,
  1499.            just a few I/O registers, and has no 16M limit.
  1500.       Con: Usually the slowest transfer rate, the CPU is waiting
  1501.            the whole time, and interleaved packet access is usually
  1502.            difficult to impossible.
  1503.  
  1504.     Shared memory
  1505.     =============
  1506.       Pro: Simple, faster than programmed I/O, and allows random
  1507.            access to packets.
  1508.       Con: Uses up memory space (a big one for DOS users, only a minor
  1509.            issue under Linux), and it still ties up the CPU.
  1510.  
  1511.     Slave (normal) DMA
  1512.     ==================
  1513.       Pro: Frees up the CPU during the actual data transfer.
  1514.       Con: Checking boundary conditions, allocating contiguous buffers,
  1515.            and programming the DMA registers makes it the slowest
  1516.            of all techniques.  It also uses up a scarce DMA
  1517.            channel, and requires aligned low memory buffers.
  1518.  
  1519.     Master (bus-master) DMA
  1520.     =======================
  1521.       Pro: Frees up the CPU during the data transfer, can string together
  1522.            buffers, can require little or no CPU time lost on the
  1523.            ISA bus.
  1524.       Con: Requires low-memory buffers and a DMA channel. Any
  1525.            bus-master will have problems with other bus-masters that
  1526.            are bus-hogs, such as some primitive SCSI adaptors. A few
  1527.            badly-designed motherboard chipsets have problems with
  1528.            bus-masters. And a reason for not using *any* type of
  1529.            DMA device is using a Cyrix 486 processor designed for
  1530.            plug-in replacement of a 386: these processors must
  1531.            flush their cache with each DMA cycle.
  1532.  
  1533. 5.06 Programming the Intel chips (i82586 and i82593)
  1534.  
  1535.     These chips are used on a number of cards, namely the 3c507 ('86),
  1536.     the Intel EtherExpress 16 ('86), Microdyne's exos205t ('86),
  1537.     the Z-Note ('93), and the Racal-Interlan ni5210 ('86).
  1538.  
  1539.     Russ Nelson writes:
  1540.     "Most boards based on the 82586 can reuse quite a bit of their code.
  1541.     More, in fact, than the 8390-based adapters. There are only three
  1542.     differences between them:
  1543.  
  1544.       o The code to get the Ethernet address,
  1545.       o The code to trigger CA on the 82586, and
  1546.       o The code to reset the 82586.
  1547.  
  1548.     The Intel EtherExpress 16 is an exception, as it I/O maps the 82586.
  1549.     Yes, I/O maps it. Fairly clunky, but it works.
  1550.  
  1551.     Garrett Wollman did an AT&T driver for BSD that uses the BSD
  1552.     copyright. The latest version I have (Sep '92) only uses a single
  1553.     transmit buffer. You can and should do better than this if you've
  1554.     got the memory. The AT&T and 3c507 adapters do; the ni5210 doesn't.
  1555.  
  1556.     The people at Intel gave me a very big clue on how you queue up
  1557.     multiple transmit packets. You set up a list of
  1558.     NOP->XMIT->NOP->XMIT->NOP->XMIT->(beginning) blocks, then you set the
  1559.     "next" pointer of all the NOP blocks to themselves. Now you start
  1560.     the command unit on this chain. It continually processes the first
  1561.     NOP block. To transmit a packet, you stuff it into the next transmit
  1562.     block, then point the NOP to it. To transmit the next packet, you
  1563.     stuff the next transmit block and point the previous NOP to *it*. In
  1564.     this way, you don't have to wait for the previous transmit to finish,
  1565.     you can queue up multiple packets without any ambiguity as to whether
  1566.     it got accepted, and you can avoid the command unit start-up delay."
  1567.  
  1568. 5.07    Technical information from 3Com
  1569.  
  1570.     From: Cameron Spitzer 764-6339 <camerons@nad.3com.com>
  1571.     Subject: getting 3Com Adapter manuals
  1572.     Date: Mon, 27 Sep 1993 21:17:07 +0200
  1573.     
  1574.     Since this is becoming a FAQ, I'm going to tread the thin
  1575.     ice of No Commercial Use and answer it here.
  1576.  
  1577.     3Com's Ethernet Adapters are documented for driver writers
  1578.     in our "Technical References" (TRs). These manuals describe
  1579.     the programmer interfaces to the boards but they don't talk
  1580.     about the diagnostics, installation programs, etc that end
  1581.     users can see.
  1582.     
  1583.     The Network Adapter Division marketing department has the
  1584.     TRs to give away. To keep this program efficient, we
  1585.     centralized it in a thing called "CardFacts." CardFacts is
  1586.     an automated phone system. You call it with a touch-tone
  1587.     phone and it faxes you stuff. To get a TR, call CardFacts
  1588.     at 408-727-7021. Ask it for Developer's Order Form,
  1589.     document number 9070. Have your fax number ready when you
  1590.     call. Fill out the order form and fax it to 408-764-5004.
  1591.     Manuals are shipped by Federal Express 2nd Day Service.
  1592.     
  1593.     If you don't have a fax and nobody you know has a fax,
  1594.     really and truly, *then* send mail to
  1595.     Terry_Murphy@3Mail.3Com.com and tell her about your problem.
  1596.     PLEASE use the fax thing if you possibly can.
  1597.     
  1598.     After you get a manual, if you still can't figure out how to
  1599.     program the board, try our "CardBoard" BBS at
  1600.     1-800-876-3266, and if you can't do that, write
  1601.     Andy_Chan@3Mail.3com.com and ask him for alternatives. If
  1602.     you have a real stumper that nobody has figured out yet, the
  1603.     fellow who needs to know about it is
  1604.     Steve_Lebus@3Mail.3com.com.
  1605.     
  1606.     There are people here who think we are too free with the
  1607.     manuals, and they are looking for evidence that the system
  1608.     is too expensive, or takes too much time and effort. That's
  1609.     why it's important to try to use CardFacts *before* you
  1610.     start calling and mailing the people I named here.
  1611.     
  1612.     There are even people who think we should be like Diamond
  1613.     and Xircom, requiring tight "partnership" with driver
  1614.     writers to prevent poorly performing drivers from getting
  1615.     written. So far, 3Com customers have been really good about
  1616.     this, and there's no problem with the level of requests
  1617.     we've been getting. We need your continued cooperation and
  1618.     restraint to keep it that way.
  1619.     
  1620.     Cameron Spitzer, 408-764-6339
  1621.     3Com NAD
  1622.     Santa Clara
  1623.     work: camerons@nad.3com.com
  1624.     home: cls@truffula.sj.ca.us
  1625.  
  1626. 5.08 Notes on AMD PCnet-ISA / LANCE Based cards (79C960)
  1627.  
  1628.     The AMD LANCE (Local Area Network Controller for Ethernet)
  1629.     was the original offering, and has since been replaced by
  1630.     the "PCnet-ISA" chip, otherwise known as the 79C960.
  1631.     A relatively new chip from AMD, the 79C960, is the heart of many
  1632.     new cards being released at present. Note that the name "LANCE"
  1633.     has stuck, and some people will refer to the new chip by the old
  1634.     name. Dave Roberts of the Network Products Division of AMD was kind
  1635.     enough to contribute the following information regarding this chip:
  1636.  
  1637.     "As for the architecture itself, AMD developed it originally
  1638.     and reduced it to a single chip -- the PCnet(tm)-ISA -- over a year
  1639.     ago. It's been selling like hotcakes ever since.
  1640.  
  1641.     Functionally, it is equivalent to a NE1500. The register set
  1642.     is identical to the old LANCE with the 1500/2100 architecture
  1643.     additions. Older 1500/2100 drivers will work on the PCnet-ISA.
  1644.     The NE1500 and NE2100 architecture is basically the same.
  1645.     Initially Novell called it the 2100, but then tried to distinguish
  1646.     between coax and 10BASE-T cards. Anything that was 10BASE-T only was
  1647.     to be numbered in the 1500 range. That's the only difference.
  1648.  
  1649.     Many companies offer PCnet-ISA based products, including HP,
  1650.     Racal-Datacom, Allied Telesis, Boca Research, Kingston Technology, etc.
  1651.     The cards are basically the same except that some manufacturers
  1652.     have added "jumperless" features that allow the card to
  1653.     be configured in software. Most have not. AMD offers a standard
  1654.     design package for a card that uses the PCnet-ISA and many
  1655.     manufacturers use our design without change.
  1656.     What this means is that anybody who wants to write drivers for
  1657.     most PCnet-ISA based cards can just get the data-sheet from AMD. Call
  1658.     our literature distribution center at (800)222-9323 and ask for the
  1659.     Am79C960, PCnet-ISA data sheet. It's free.
  1660.  
  1661.     A quick way to understand whether the card is a "stock" card
  1662.     is to just look at it. If it's stock, it should just have one large
  1663.     chip on it, a crystal, a small IEEE address PROM, possibly a socket
  1664.     for a boot ROM, and a connector (1, 2, or 3, depending on the media
  1665.     options offered). Note that if it's a coax card, it will have some
  1666.     transceiver stuff built onto it as well, but that should be near the
  1667.     connector and away from the PCnet-ISA.
  1668.  
  1669.     The PCnet-ISA is faster than the original LANCE design and
  1670.     makes better use of the available bus bandwidth. Additionally, some
  1671.     LANCE bugs were corrected and many enhancements were made."
  1672.  
  1673.     AMD recently announced additional members of the PCnet(tm) family.
  1674.     The new parts are PCnet-ISA+ (Am79C961), PCnet-32 (Am79C965), and
  1675.     PCnet-PCI (Am79C970).
  1676.     
  1677.     PCnet-ISA+ is an update to the wildly successful PCnet-ISA, single
  1678.     chip Ethernet controller for ISA-bus.  It includes support for
  1679.     jumperless configuration and Microsoft Plug-and-Play for ISA.
  1680.     
  1681.     PCnet-32 is a high performance, 32-bit bus master, single chip
  1682.     Ethernet controller for VL-bus and 386/486 Local Bus.
  1683.     
  1684.     PCnet-PCI is similar to PCnet-32, but designed for the new PCI local
  1685.     bus.
  1686.     
  1687.     As always, all the members of the PCnet family are driver compatible,
  1688.     although new features have been added to these parts and drivers would
  1689.     have to be updated to take advantage of them.
  1690.     
  1691.     Expect to see both adapter cards and *motherboards* appearing soon
  1692.     from major networking and PC vendors with these parts on them."
  1693.  
  1694.     There is also some info regarding the LANCE chip in the file
  1695.     lance.c which is included in the standard kernel.
  1696.  
  1697. 5.09 Multicast and Promiscuous mode
  1698.  
  1699.     One of the things I've been working on recently is the
  1700.     major remaining item on the ethercard feature list:
  1701.     implementing multicast and promiscuous mode hooks.
  1702.     
  1703.     At first I was planning to do it while implementing either
  1704.     the /dev/* or DDI interface, but that's not really the
  1705.     correct way to do it. We should only enable multicast or
  1706.     promiscuous modes when something wants to look at the
  1707.     packets, and shut it down when that application is
  1708.     finished, neither of which is strongly related to when the
  1709.     hardware is opened or released.
  1710.     
  1711.     I'll start by discussing promiscuous mode, which is
  1712.     conceptually easy to implement. For most hardware you
  1713.     only have to set a register bit, and from then on you get
  1714.     every packet on the wire. Well, it's almost that easy;
  1715.     for some hardware you have to shut the board (potentially
  1716.     dropping a few packet), reconfigure it, and then re-enable
  1717.     the ethercard. This is grungy and risky, but the
  1718.     alternative seems to be to have every application register
  1719.     before you open the ethercard at boot-time.
  1720.     
  1721.     OK, so that's easy, so I'll move on something that's not
  1722.     quite so obvious: Multicast. It can be done two ways:
  1723.     
  1724.     1) Use promiscuous mode, and a packet filter like the
  1725.        Berkeley packet filter (BPF). The BPF is a pattern matching
  1726.        stack language, where you write a program that picks out the
  1727.        addresses you are interested in. Its advantage is that it's
  1728.        very general and programmable. Its disadvantage is that there
  1729.        is no general way for the kernel to avoid turning on promiscuous
  1730.        mode and running every packet on the wire through every registered
  1731.        packet filter. See the next section for more information on BPF.
  1732.     
  1733.     2) Using the built-in multicast filter that most etherchips have.
  1734.     
  1735.     I guess I should list what a few ethercards/chips provide:
  1736.     
  1737.     Chip/card  Promiscuous    Multicast filter
  1738.     ========================================
  1739.     Seeq8001/3c501    Yes    Binary filter (1)
  1740.     3Com/3c509    Yes    Binary filter (1)
  1741.     8390        Yes    Autodin II six bit hash (2) (3)
  1742.     LANCE        Yes    Autodin II six bit hash (2) (3)
  1743.     i82586        Yes    Hidden Autodin II six bit hash (2) (4)
  1744.     
  1745.     
  1746.     (1) These cards claim to have a filter, but it's a simple
  1747.     yes/no 'accept all multicast packets', or 'accept no
  1748.     multicast packets'.
  1749.     
  1750.     (2) AUTODIN II is the standard ethernet CRC (checksum)
  1751.     polynomial. In this scheme multicast addresses are hashed
  1752.     and looked up in a hash table. If the corresponding bit
  1753.     is enabled, this packet is accepted. Ethernet packets are
  1754.     laid out so that the hardware to do this is trivial -- you
  1755.     just latch six (usually) bits from the CRC circuit (needed
  1756.     anyway for error checking) after the first six octets (the
  1757.     destination address), and use them as an index into the
  1758.     hash table (six bits == a 64-bit table).
  1759.     
  1760.     (3) These chips use the six bit hash, and must have the
  1761.     table computed and loaded by the host. This means the
  1762.     kernel must include the CRC code.
  1763.     
  1764.     (4) The 82586 uses the six bit hash internally, but it
  1765.     computes the hash table itself from a list of multicast
  1766.     addresses to accept.
  1767.  
  1768.     Note that none of these chips do perfect filtering, and we
  1769.     still need a middle-level module to do the final
  1770.     filtering. Also note that in every case we must keep a
  1771.     complete list of accepted multicast addresses to recompute
  1772.     the hash table when it changes.
  1773.     
  1774.     My first pass at device-level support is detailed in the
  1775.     new outline driver skeleton.c (pl14 and up.)
  1776.  
  1777.     It looks like the following:
  1778.     
  1779.     #ifdef HAVE_MULTICAST
  1780.     static void set_multicast_list(struct device *dev, int num_addrs,
  1781.                      void *addrs);
  1782.     #endif
  1783.     .
  1784.     .
  1785.     
  1786.     ethercard_open() {
  1787.     ...
  1788. #ifdef HAVE_MULTICAST
  1789.         dev->set_multicast_list = &set_multicast_list;
  1790.     #endif
  1791.     ...
  1792.     
  1793.     #ifdef HAVE_MULTICAST
  1794.     /* Set or clear the multicast filter for this adaptor.
  1795.        num_addrs == -1    Promiscuous mode, receive all packets
  1796.        num_addrs == 0    Normal mode, clear multicast list
  1797.        num_addrs > 0    Multicast mode, receive normal and
  1798.                 MC packets, and do best-effort filtering.
  1799.      */
  1800.     static void
  1801.     set_multicast_list(struct device *dev, int num_addrs, void *addrs)
  1802.     {
  1803.     ...
  1804.  
  1805.     Any comments, criticism, etc. are welcome.
  1806.  
  1807.     Alan Cox adds that "...in pl14, user programs can access promiscuous
  1808.     mode but not multicast mode, even though the drivers support both.
  1809.     The ifconfig program allows you to mark an interface 'promisc'."
  1810.     
  1811. 5.10 The Berkeley Packet Filter (BPF)
  1812.  
  1813.     I'm not bitterly opposed to it, but I'm coming to the
  1814.     conclusion that the 'bpf' functionality should not be provided
  1815.     by the kernel, but should be in a (hopefully little-used)
  1816.     compatibility library.
  1817.     
  1818.     For those not in the know: 'bpf' (the Berkeley Packet Filter)
  1819.     is an mechanism for specifying to the kernel networking layers
  1820.     what packets you are interested in. It's implemented as a
  1821.     specialized stack language interpreter built into a low level
  1822.     of the networking code. An application passes a program
  1823.     written in this language to the kernel, and the kernel runs the
  1824.     program on each incoming packet. If the kernel has multiple
  1825.     'bpf' applications, each program is run on each packet.
  1826.     
  1827.     The problem is that it's difficult to deduce what kind of
  1828.     packets the application is really interested in from the packet
  1829.     filter program, so the general solution is to always run the
  1830.     filter. Imagine a program that registers a 'bpf' program to
  1831.     pick up a low data-rate stream sent to a multicast address.
  1832.     Most ethernet cards have a hardware multicast address filter
  1833.     implemented as a 64 entry hash table that ignores most unwanted
  1834.     multicast packets, so the capability exists to make this a very
  1835.     inexpensive operation. But with the BFP the kernel must switch
  1836.     the interface to promiscuous mode, receive _all_ packets, and
  1837.     run them through this filter. This is work, BTW, that's very
  1838.     difficult to account back to the process requesting the packets.
  1839.  
  1840. 5.11 Unresolved questions / concerns
  1841.  
  1842.     There may be some benefit from processing packet data as it is
  1843.     transferred to and from the ethercard, especially with very fast
  1844.     processors transferring data to a slow ethercard. As I see it this
  1845.     question has multiple parts:
  1846.         1) Is there any useful processing power available, perhaps
  1847.            during the ISA bus recovery period, or while the 8390
  1848.            remote DMA is preparing for another transfer??
  1849.         2) Is there any useful but simple work that can be done
  1850.            between/during each word of the copy, such as calculating
  1851.            a CRC, or discarding obviously unwanted packets??
  1852.         3) would the complexity of an interface to do this make future
  1853.            ethercard drivers impossible??
  1854.  
  1855.     There should be a better structure than Space.c - Drivers should be
  1856.     able to autoprobe for all installed ethercards rather than just
  1857.     quitting after finding the first.  I've written code to do this,
  1858.     but the constant promise (threat?) of DDI has prevented me from
  1859.     making it standard.
  1860.  
  1861.     A related topic is the problem of driver probes corrupting
  1862.     unrelated hardware. Even worse is a probe into a dataport that
  1863.     isn't set up to transfer data, which will freeze the machine. The
  1864.     common suggestion is a boot-time device registry that records
  1865.     already-used I/O ports and shared memory. This has been implemented
  1866.     as of pl13, see section 5.01.
  1867.  
  1868. 6 Possible problems, and troubleshooting.
  1869.  
  1870.     This section tries to answer any unresolved questions, and not so
  1871.     common solutions to common problems. They are sorted on a "per
  1872.     manufacturer basis". You should have also read the relevant info.
  1873.     from section 1 about your specific card. Section 8 contains more
  1874.     general FAQ's.
  1875.  
  1876. 6.01 Problems with NE2000 (and clones)
  1877.  
  1878.     "DMA address mismatch"
  1879.     ======================
  1880.  
  1881.     Is the chip a real NatSemi 8390? (DP8390, DP83901, DP83902 or DP83905)?
  1882.     If not, some clone chips don't correctly implement the transfer
  1883.     verification register. MS-DOS drivers never do error checking,
  1884.     so it doesn't matter to them.
  1885.  
  1886.     Are most of the messages off by a factor of 2?
  1887.     If so:    Are you using the NE2000 in a 16 bit slot?
  1888.         Is it jumpered to use only 8 bit transfers?
  1889.  
  1890.     The Linux driver expects a NE2000 to be a 16 bit slot. A NE1000 can
  1891.     be in either size slot. This problem can also occur with some clones,
  1892.     notably D-Link 16 bit cards, that don't have the correct ID bytes
  1893.     in the station address PROM. [[ This should be fixed in pl12.]]
  1894.  
  1895.     Are you running the bus faster than 8Mhz?
  1896.     If you can change the speed (faster or slower), see if that
  1897.     makes a difference. Most NE2000 clones will run at 16Mhz, but
  1898.     some may not. Changing speed can also mask a noisy bus.
  1899.  
  1900.     What other devices are on the bus?
  1901.     If moving the devices around changes the reliability, then you
  1902.     have a bus noise problem -- just what that error message was
  1903.     designed to detect. Congratulations, you've probably found the
  1904.     source of other problems as well.
  1905.  
  1906.     Machine Hangs during Boot.
  1907.     ==========================
  1908.  
  1909.     Problem:  The machine hangs during boot right after the "8390..."  or
  1910.           "WD...." message. Removing the NE2000 fixes the problem.
  1911.  
  1912.     Solution: Change your NE2000 base address to 0x360 (or 0x340 for
  1913.           pl12 or later kernels.) Alternatively, you can use the new
  1914.           device registrar implemented in pl13 (see section 5.1)
  1915.  
  1916.     Reason:   Your NE2000 clone isn't a good enough clone. An active
  1917.           NE2000 is a bottomless pit that will trap any driver
  1918.           autoprobing in its space. The other ethercard drivers take
  1919.           great pain to reset the NE2000 so that it's safe, but some
  1920.           clones cannot be reset. Clone chips to watch out for:
  1921.           Winbond 83C901. Changing the NE2000 to a less-popular
  1922.           address will move it out of the way of other autoprobes,
  1923.           allowing your machine to boot.
  1924.  
  1925.     Problem:  The machine hangs during the SCSI probe at boot.
  1926.  
  1927.     Solution: It's the same problem as above, change the
  1928.           ethercard's address, or use the device registrar.
  1929.  
  1930.     Problem:  The machine hangs during the soundcard probe at boot.
  1931.  
  1932.     Solution: No, that's really during the silent SCSI probe, and it's
  1933.           the same problem as above.
  1934.  
  1935.     "eth0: DMAing conflict in ne_block_input"
  1936.     =========================================
  1937.  
  1938.     This bug came from timer-based packet retransmissions. If you got a
  1939.     timer tick _during_ a ethercard RX interrupt, and timer tick tried to
  1940.     retransmit a timed-out packet, you could get a conflict. Because of
  1941.     the design of the NE2000 you would have the machine hang (exactly the
  1942.     same the NE2000-clone boot hangs).
  1943.  
  1944.     Early versions of the driver disabled interrupts for a long time,
  1945.     and didn't have this problem. Later versions are fixed. (ie. kernels
  1946.     after 0.99p9 should be OK.)
  1947.  
  1948.     NE2000 not detected at boot.
  1949.     ============================
  1950.  
  1951.     A few people have reported a problem with detecting the Accton NE2000.
  1952.     This problem occurs only at boot-time, and the card is later detected
  1953.     at run-time by the identical code my (alpha-test) ne2k diagnostic
  1954.     program. Accton has been very responsive, but I still haven't tracked
  1955.     down what is going on. I've been unable to reproduce this problem
  1956.     with the Accton cards we purchased. If you are having this problem,
  1957.     please send me an immediate bug report. For that matter, if you have
  1958.     an Accton card send me a success report, including the type of the
  1959.     motherboard. I'm especially interested in finding out if this problem
  1960.     moves with the particular ethercard, or stays with the motherboard.
  1961.     
  1962.     Here are some things to try, as they have fixed it for some people:
  1963.     1) Change the bus speed, or just move the card to a different slot (!).
  1964.     2) Change the "I/O recovery time" parameter in the BIOS
  1965.        chipset configuration.
  1966.     3) Make the following code change suggested by David Cutler,
  1967.        <dave@dmitri.ucdavis.edu> to ne.c around line 150:
  1968.  
  1969.         for(i = 0; i < 32 /*sizeof(SA_prom)*/; i+=2) {
  1970.     -        SA_prom[i] = inb_p(ioaddr + NE_DATAPORT);
  1971.     -        SA_prom[i+1] = inb_p(ioaddr + NE_DATAPORT);
  1972.     +        SA_prom[i] = inb(ioaddr + NE_DATAPORT);
  1973.     +        SA_prom[i+1] = inb(ioaddr + NE_DATAPORT);
  1974.             if (SA_prom[i] != SA_prom[i+1])
  1975.                 wordlength = 1;
  1976.         }
  1977.  
  1978.     Yes, this removes the delay between board accesses, something that
  1979.     would normally increase the likelihood of data corruption rather
  1980.     than decreasing it. Note that this change is already incorporated
  1981.     into pl15. If you have an older kernel, you may have to do it
  1982.     yourself.
  1983.  
  1984. 6.02 Problems with WD80*3 cards
  1985.  
  1986.     Detected Non-existent Ethercard
  1987.     ===============================
  1988.  
  1989.     Problem:  A WD80*3 is falsely detected. Removing the sound or
  1990.           MIDI card eliminates the "detected" message.
  1991.  
  1992.     Solution: Update your ethercard driver: new versions include an
  1993.           additional sanity check.
  1994.  
  1995.     Reason:   Some MIDI ports happen to produce the same checksum as a
  1996.           WD ethercard.
  1997.  
  1998.     Error messages from the 80*3
  1999.     ============================
  2000.  
  2001.     Problem:  You get messages such as the following with your 80*3:
  2002.             eth0: bogus packet size, status = ........
  2003.             kmalloc called with impossibly large argument (65400)
  2004.             eth0: Couldn't allocate sk_buff of size 65400
  2005.             eth0: receiver overrun
  2006.  
  2007.     Reason:   There is a shared memory problem.
  2008.  
  2009.     Solution: If the problem is sporadic, you have hardware problems.
  2010.           Typical problems that are easy to fix are board conflicts,
  2011.           having cache or "shadow ROM" enabled for that region, or
  2012.           running your bus faster than 8Mhz. There are also a
  2013.           surprising number of memory failures on ethernet cards,
  2014.           so run a diagnostic program if you have one for your
  2015.           ethercard.
  2016.  
  2017.           If the problem is continual, and you have have to reboot
  2018.           to fix the problem, record the boot-time probe message
  2019.           and mail it to becker@cesdis1.gsfc.nasa.gov - Take 
  2020.           particular note of the shared memory location.
  2021.  
  2022.     Will not detect my 80x3
  2023.     =======================
  2024.  
  2025.     Reason:   The Mitsumi CD-ROM (mcd) driver probe at 0x300 will
  2026.           succeed if just about *anything* is that I/O location.
  2027.           This is bad news and needs to be a bit more robust. (pl15)
  2028.           Once another driver registers that it "owns" an I/O
  2029.           location, other drivers (incl. the wd80x3) are "locked
  2030.           out" and can not probe that addr for a card.
  2031.  
  2032.     Solution: Recompile a new kernel without any excess drivers that
  2033.           you aren't using, including the above mcd driver.
  2034.           Or try moving your ethercard to a new I/O addr. Valid
  2035.           I/O addr. for all the cards are listed in section 5.1
  2036.           You can also point the mcd driver off in another direction
  2037.           by a boot-time parameter (via LILO) such as:
  2038.             "mcd=0x200,12"
  2039.  
  2040. 6.03 Problems with 3Com cards
  2041.  
  2042.     Choosing the Interrupt of the 3c503
  2043.     ===================================
  2044.  
  2045.     Problem:  The 3c503 picks IRQ n at boot, but this is needed for some
  2046.           other device which needs IRQ n. (eg. CD ROM driver, etc.)
  2047.           Can this be fixed without compiling this into the kernel?
  2048.  
  2049.     Solution: The 3c503 driver probes for a free IRQ line in the order
  2050.           {5, 9/2, 3, 4}, and it should pick a line which isn't being
  2051.           used. The pre-pl12 (SLS 1.02) driver picked the IRQ line
  2052.           at boot-time, and the current driver (pl12) chooses when
  2053.           the card is open()/'ifconfig'ed. Note the "bug" noted in
  2054.           the 3c503 section in 1.01
  2055.  
  2056.           Alternately, you can fix the IRQ at boot by passing
  2057.           parameters via LILO. The following selects IRQ9, base
  2058.           location 0x300, <ignored value>, and if_port #1 (the
  2059.           external transceiver).
  2060.             lilo: linux ether=9,0x300,0,1,eth0
  2061.  
  2062.           The following selects IRQ3, probes for the base location,
  2063.           <ignored value>, and the default if_port #0 (the internal
  2064.           transceiver)
  2065.             lilo: linux ether=3,0,0,0,eth0
  2066.  
  2067.     "3c503: Configured interrupt number XX is out of range."
  2068.     ========================================================
  2069.  
  2070.     Problem:  Whoever built your kernel fixed the ethercard IRQ at XX.
  2071.  
  2072.     Reason:   The above is truly evil, and worse than that, it is
  2073.           not necessary. The 3c503 will autoIRQ when it gets
  2074.           "ifconfig"ed, and pick one of IRQ{5, 2/9, 3, 4}.
  2075.  
  2076.     Solution: Use lilo to set the IRQ, or rebuild the kernel, enabling
  2077.           autoIRQ by not specifying the IRQ line.
  2078.  
  2079.     Choosing the output of the 3c503
  2080.     ================================
  2081.  
  2082.     Problem:  The supplied 3c503 drivers don't use the AUI (thicknet) port.
  2083.           How does one choose it over the default thinnet port?
  2084.  
  2085.     Solution: The 3c503 AUI port can be selected at boot-time with 0.99pl12
  2086.           and later. The selection is overloaded onto the low bit of
  2087.           the currently-unused dev->rmem_start variable, so a boot-time
  2088.           parameter of:
  2089.             lilo: linux ether=0,0,0,1,eth0
  2090.           should work. A boot line to force IRQ 5, port base 0x300,
  2091.           and use an external transceiver is:
  2092.             lilo: linux ether=5,0x300,0,1,eth0
  2093.  
  2094.           Also note that kernel revisions 1.00 to 1.03 had an 
  2095.           interesting "feature". They would switch to the AUI port
  2096.           when the internal transciever failed. This is a problem,
  2097.           as it will *never* switch back if for example you 
  2098.           momentarily disconnect the cable. Kernel versions 1.04
  2099.           and newer only switch if the very first Tx attempt fails.
  2100.  
  2101. 6.04 Problems with Hewlett Packard Cards
  2102.  
  2103.     IRQ and DMA channel problems.
  2104.     =============================
  2105.  
  2106.     Problem:  HP Vectra using AMD Lance chip gets IRQ and DMA wrong.
  2107.  
  2108.     Solution: The HP Vectra uses a different implementation to the
  2109.           standard HP-J2405A. The 'lance.c' driver *always* uses 
  2110.           the value in the setup register of an HP Lance 
  2111.           implementation.  In this case it's reading an invalid
  2112.           0xff value. You should either hardcode the proper IRQ
  2113.           and DMA into the driver, or pass them to the kernel
  2114.           via LILO. In the meantime I'll see if I can find someone 
  2115.           at HP that knows how to tell the difference between a 
  2116.           J2405A and a Vectra.  If there isn't an easy way, I'll 
  2117.           just ignore a 0xff setup value and do autoIRQ/autoDMA 
  2118.           instead. 
  2119.  
  2120. 7 Networking with a laptop computer
  2121.  
  2122.     There are currently only a few ways to put your laptop on a network.
  2123.     You can use the SLIP code (and run at serial line speeds);
  2124.     you can buy one of the few laptops that come with a NE2000-compatible
  2125.     ethercard or PCMCIA slot built-in; you can get a laptop with a
  2126.     docking station and plug in an ISA ethercard; or you can use a
  2127.     parallel port Ethernet adapter such as the D-Link DE-600.
  2128.  
  2129. 7.01 Option 1 -- using SLIP
  2130.  
  2131.     This is the cheapest solution, but by far the most difficult. Also,
  2132.     you will not get very high transmission rates. Since SLIP is not
  2133.     really related to ethernet cards, it will not be discussed further
  2134.     here. See the NET-2 HOWTO.
  2135.  
  2136. 7.02 Option 2 -- Built in NE2000 compatible or PCMCIA Ethercard.
  2137.  
  2138.     The second solution severely limits your laptop choices and is fairly
  2139.     expensive. Be sure to read the specifications carefully, you may find
  2140.     that you will have to buy an additional non-standard transceiver to
  2141.     actually put the machine on a network.
  2142.  
  2143.     As this area of Linux development is fairly young, I'd suggest
  2144.     that you join the LAPTOPS mailing channel. See section 0.02
  2145.     which describes how to join a mailing list channel. Try and
  2146.     determine exactly what hardware you have (ie. card manufacturer,
  2147.     PCMCIA chip controller manufacturer) and then ask on the LAPTOPS
  2148.     channel. Regardless, don't expect things to be all that simple.
  2149.     Expect to have to fiddle around a bit, and patch kernels, etc.
  2150.     Maybe someday you will be able to type "make config" 8-)
  2151.  
  2152.     There is a number of programs on tsx-11.mit.edu in
  2153.     /pub/linux/packages/laptops/ that you may find useful. These
  2154.     range from PCMCIA Ethercard drivers to programs that communicate
  2155.     with the PCMCIA controller chip. Note that these drivers are
  2156.     usually tied to a specific PCMCIA chip (ie. the intel 82365
  2157.     or the TCIC/2) On a brighter note, I know that people have used the
  2158.     Linksys/D-Link 650 PCMCIA Ethernet PC Card with both controller
  2159.     chipsets, so it *can* be done. I have also seen reports of
  2160.     people using the IBM Credit Card Adapter for Ethernet with the
  2161.     intel 82365 chip. This is all just from following the LAPTOPS
  2162.     channel.
  2163.  
  2164.     Anyway, the PCMCIA driver problem isn't specific to the Linux world.
  2165.     It's been a real disaster in the MS-DOS world. In that world
  2166.     people expect the hardware to work if they just follow the manual.
  2167.     They might not expect it to interoperate with any other hardware
  2168.     or software, or operate optimally, but they do expect that the
  2169.     software shipped with the product will function. Many PCMCIA
  2170.     adaptors don't pass this test.
  2171.  
  2172.     Things are looking up for Linux users that want PCMCIA support, as
  2173.     H.J. Lu is also working on getting the PCMCIA chipset support
  2174.     issue sorted out. We have all seen the excellent work he has 
  2175.     already done with the shared library and the gcc support for 
  2176.     Linux. Thanks HJ!
  2177.  
  2178. 7.03 Option 3 -- ISA Ethercard in the Docking Station.
  2179.  
  2180.     I recommend the third solution. Docking stations for laptops typically
  2181.     cost about $250 and provide two full-size ISA slots, two serial and one
  2182.     parallel port. Most (all?) docking stations are powered off of the
  2183.     laptop's batteries, and a few allow adding extra batteries in the
  2184.     docking station if you use short ISA cards. You can add an inexpensive
  2185.     ethercard and enjoy full-speed ethernet performance.
  2186.  
  2187. 7.04 Option 4 -- Pocket / parallel port adaptors.
  2188.  
  2189.     The "pocket" ethernet adaptors may also fit your need.
  2190.     Until recently they actually costed more than a docking station and
  2191.     cheap ethercard, and most tie you down with a wall-brick power supply.
  2192.     At present, you can choose from the D-Link, or the RealTek adaptor.
  2193.     Most other companies, especially Xircom, treat the programming
  2194.     information as a trade secret, so support will likely be slow in
  2195.     coming.
  2196.  
  2197.     You can sometimes avoid the wall-brick with the adaptors by buying
  2198.     or making a cable that draws power from the laptop's keyboard
  2199.     port. (This is mentioned in the info. for the AT-Lan-Tec unit.)
  2200.  
  2201.     The keyboard pinouts (5 pin DIN) are as follows:
  2202.  
  2203.         Signal/Function            Pin #
  2204.         ---------------            -----
  2205.         KEYCLK (clock)            1
  2206.         KEYDAT (data)            2
  2207.         N/C                3
  2208.         Ground                4
  2209.         +5 V                5
  2210.  
  2211.     A quick check with a voltmeter will verify which pins are 4 and 5
  2212.     if you are not sure.
  2213.  
  2214. 8 Frequently asked questions
  2215.  
  2216.     Here are some of the more frequently asked questions about using
  2217.     Linux with an Ethernet connection. Some of the more specific
  2218.     questions are sorted on a "per manufacturer basis" and are listed
  2219.     in the "Troubleshooting" section. (section 6). However, since this
  2220.     document is basically "old" by the time you get it, any "new" problems
  2221.     will not appear here instantly. For these, I suggest that you make
  2222.     efficient use of your newsreader. For example, nn users would type
  2223.         nn -xX -s'3c'
  2224.     to get all the news articles in your subscribed list that have
  2225.     "3c" in the subject. (ie. 3com, 3c509, 3c503, etc.)
  2226.     The moral: Read the man page for your newsreader.
  2227.     
  2228. 8.01 Just the FAQ's ma'am -- just the FAQ's.
  2229.  
  2230.     Q: I heard that there is an alpha driver available for my card.
  2231.        Where can I get it?
  2232.  
  2233.     A: The newest of the "new" drivers can be found on Donald's new
  2234.        ftp site: cesdis.gsfc.nasa.gov in the /pub/linux/ area. Things 
  2235.        change here quite frequently, so just look around for it. 
  2236.        There is still all the stuff on the old ftp site (ftp.super.org
  2237.        in /pub/linux), but this is not being actively maintained,
  2238.        and hence will be of limited value to most people.
  2239.  
  2240.        Now, if it really is an alpha, or pre-alpha driver, then please 
  2241.        treat it as such. In other words, don't complain because you 
  2242.        can't figure out what to do with it. If you can't figure out 
  2243.        how to install it, then you probably shouldn't be testing it. 
  2244.        Also, if it brings your machine down, don't complain. Instead, 
  2245.        send us a well documented bug report, or even better, a patch!
  2246.  
  2247.     Q: Is there token ring support for Linux?
  2248.  
  2249.     A: No, there is no token ring support in Linux. To support token ring
  2250.        requires more than only a writing a device driver, it also requires
  2251.        writing the source routing routines for token ring. Given that
  2252.        token ring is expensive, not fast, and will probably be swept away
  2253.        by 100baseVG in a few months, it doesn't seem worth it to write
  2254.        a driver. In case anyone wants to, I looked at writing a token ring
  2255.        device driver, and concluded that the hardware interface
  2256.        wasn't too difficult to do, but writing the support for source
  2257.        routing would take significantly longer than I was willing to spend
  2258.        on an expensive and dying technology.
  2259.  
  2260.        Alan Cox adds: "It will require [...] changes to the bottom socket
  2261.        layer to support 802.2 and 802.2 based TCP/IP. Don't expect
  2262.        anything soon."
  2263.  
  2264.     Q: Is there FDDI support for Linux?
  2265.  
  2266.     A: No, there is no Linux driver for any FDDI boards. I come from a
  2267.        place with supercomputers, so an external observer might think
  2268.        FDDI would be high on my list. But FDDI never delivered end-to-end
  2269.        throughput that would justify its cost, and it seems to be a nearly
  2270.        abandoned technology now that 100base{X,Anynet} seems imminent.
  2271.        (And yes, I know you can now get FDDI boards for <$1K. That
  2272.        seems to be a last-ditch effort to get some return on the
  2273.        development investment. Where is the next generation of FDDI
  2274.        going to come from?)
  2275.  
  2276.     Q: Can I link 10BaseT (RJ45) based systems together without a hub?
  2277.  
  2278.     A: You can link 2 machines easily, but no more than that, without
  2279.        extra devices/gizmos. See section 4 on wiring -- it explains
  2280.        how to do it. And no, you can't hack together a hub just by
  2281.        crossing a few wires and stuff. It's pretty much impossible 
  2282.        to do the collision signal right without duplicating a hub.
  2283.  
  2284.     Q: What can I do to communicate with DOS clients and DOS/Windows
  2285.        PCs on my network? Can I run any Novell stuff? Or how about
  2286.        Lan-Manager stuff?
  2287.  
  2288.     A: Alan Cox writes: "The novell protocols are available from novell
  2289.        for various amounts. IPX is freely documented. SPX is about $1000
  2290.        but I'm told Xerox SPP is identical. _PLEASE_ has anyone got any
  2291.        freely distributable Xerox SPP code/documentation? The novell
  2292.        server spec costs you $15000 + royalties providing you only
  2293.        want to write a client, or $30000 + royalties otherwise. Needless
  2294.        to say the final output has to be binary only and subject to a
  2295.        novell license. Reading their license rules by my interpretation
  2296.        its also impossible for us to do because you would seem to have
  2297.        to bar disassembly of your final result, which is not allowed
  2298.        in the EEC.
  2299.  
  2300.        Bits of NCP are known, and I hope eventually enough will be known
  2301.        to write limited NCP support into Linux, for the moment I'm poking
  2302.        around at IPX, tho this will have to wait until the new network
  2303.        code is finished.
  2304.  
  2305.        An Alpha test IPX protocol layer is available from me (Alan)
  2306.        for pl14 or higher. People are also exploring the issue of NCP and
  2307.        the new Dr Dobbs journal article on the innards of netware has
  2308.        provided a core of good information." Note that the IPX stuff is
  2309.        incuded in the standard kernels as of about 1.1.X
  2310.  
  2311.        Other people have been running DOS packet drivers under the Linux
  2312.        DOSEMU to connect to LANs running Novell servers. It works but
  2313.        it is a bit clunky, and you can't then use the ethercard under
  2314.        Linux at the same time.
  2315.  
  2316.        I think the cleanest and nicest solution is for those running
  2317.        Lan-Manager compatible clients (e.g. Windows for Workgroups,
  2318.        Windows NT, etc.) -- there is a free Unix server available with
  2319.        very flexible functionality from nimbus.anu.edu, in the dir
  2320.        /pub/tridge/server  (thanks to Andrew.Tridgell@anu.edu.au)
  2321.        This server also has a client part that allows you to connect
  2322.        to other servers from your Unix machine, allowing printing, etc.
  2323.        Also, you can also get *free* DOS clients from ftp.microsoft.com
  2324.        in the directory Advsys/MSclient/
  2325.  
  2326.        As an alternative, Miquel van Smoorenburg suggests the following:
  2327.        "It _is_ possible to set up a dedicated PC running both novell and
  2328.        the PD SOSS server and let it gateway from NFS to novell. This way
  2329.        it is possible to mount the Novell drives on the Unix client.
  2330.  
  2331.        SOSS is a PD (perhaps with some restrictions, but freely available)
  2332.        NFS server for DOS. It includes the PC/IP TCP/IP implementation
  2333.        and runs on a packet driver. I have run both a Novell client
  2334.        (with PDIPX, a Packet Driver IPX) and this SOSS server together
  2335.        successfully."
  2336.  
  2337.        You can get "Stan's Own Server System" from the following location:
  2338.         hilbert.wharton.upenn.edu:pub/tcpip/soss.zip
  2339.        Note that this version has the IP bugs fixed and the subdirs
  2340.        with extensions bug fixed. Some of the soss.zoo archives do
  2341.        not contain these fixes. It has been hinted at that you need to
  2342.        be careful when installing SOSS so that you don't compromise
  2343.        the security of the Novell side of things. Make sure the
  2344.        admin of the Novell side of things knows what you are up to.
  2345.  
  2346.        I have also heard recently of a DOS shareware NFS *client*
  2347.        (DOS NFS *servers* are nothing new) that will allow you to
  2348.        access your Unix files via NFS. It is supposed to be on
  2349.        polyslo.calpoly.edu on /pub/mdurkin/nfs -- thats all I know.
  2350.        Again, be careful that you don't compromise the security of
  2351.        Linux NFS server.
  2352.  
  2353.        And don't forget good old NCSA telnet for DOS. It is mirrored
  2354.        on a zillion ftp sites, and the current version is 2.3.07
  2355.        As with Linux v1.0, NCSA telnet seems to work fine with the
  2356.        Linux networking code, without any strange hangs, etc. You
  2357.        can thank Alan and crew for that.
  2358.  
  2359.     Q: What needs to be done so that Linux can run two ethernet cards?
  2360.  
  2361.     A: The easiest solution is to get 0.99pl13 or newer, as the hooks for
  2362.        multiple ethercards are all there.
  2363.        You can enable additional ethercards with LILO parameters such as:
  2364.  
  2365.         lilo: linux ether=5,0x300,0,1,eth0 ether=15,0x280,eth1
  2366.  
  2367.        These boot time arguments can be made permanent so that you
  2368.        don't have to re-enter them every time. See the LILO manual,
  2369.        and Section 9, where there are tips on using LILO to pass
  2370.        boot-time arguments. Also note that only *one* ethercard is
  2371.        auto-probed for, and the second *must* be specified as above.
  2372.        This avoids a lot of possible boot time hangs caused by probing
  2373.        sensitive cards.
  2374.  
  2375.     Q: What is the selection for 32 bit ethernet cards?
  2376.  
  2377.     A: There aren't many 32 bit ethercard device drivers because there
  2378.        aren't that many 32 bit ethercards.
  2379.  
  2380.        There aren't many 32 bit ethercards out there because a 10Mbs 
  2381.        network doesn't justify spending the 5x price increment for 
  2382.        the 32 bit interface.
  2383.  
  2384.        This might change now that AMD has introduced the 32 bit PCnet-VLB 
  2385.        and PCnet-PCI chips.  The street price of the Boca PCnet-VLB board 
  2386.        should be well under $100 -- perhaps $70 from a place like CMO 
  2387.        (see Computer Shopper).
  2388.  
  2389.        While this board has a backwards-compatible mode that should work 
  2390.        with the existing LANCE driver, I might write a driver for the 
  2391.        faster enhanced mode.  More on that story as it develops...
  2392.  
  2393.     Q: Okay, I can run 2 cards -- can I run Linux as a gateway 
  2394.        between two networks?
  2395.  
  2396.     A: This is really a question for the NET-HOWTO, but it is 
  2397.        answered here anyways: Charles Hedrick (aka Mr. Slip)
  2398.        had this to say:
  2399.  
  2400.        "Yes, however I'm a bit nervous about doing it. The problem isn't
  2401.        functionality -- there's IP forwarding code, and as far as I know,
  2402.        it works. Some people do use it. However routers need to be
  2403.        particularly careful to avoid creating network problems such as
  2404.        "meltdowns." The Linux IP layer doesn't have quite enough of these
  2405.        protective features. It will only cause trouble if other hosts on
  2406.        your network are misconfigured, and even then it probably won't
  2407.        cause much trouble (assuming that only systems actually acting as
  2408.        gateways are built with IP_FORWARD enabled). But I'd still rather
  2409.        use a router that met all of the requirements of the host and
  2410.        router requirements in the RFC's. (Note that not all other Unix
  2411.        implementations do either. I'm concerned about things like not
  2412.        sending ICMP responses to messages that arrive as media 
  2413.        broadcasts. 386BSD looks OK, but older BSD-based implementations
  2414.        often didn't do all of these checks.)
  2415.  
  2416.        It depends a lot on what the network is like and how critical it is.
  2417.        For a home setup with a couple of hosts, I see no problem at all.
  2418.        But I would not consider using Linux as a router on a large
  2419.        campus network at the moment. I still think that by release 1.0,
  2420.        Linux will be a reasonably well-behaved host. But I think use
  2421.        as a router in critical situations should wait until somebody
  2422.        has checked the ip and icmp modules for compliance with RFC 1009
  2423.        and a few other specs."
  2424.  
  2425.        Alan Cox also notes that you are usually much better off to use
  2426.        an old unused AT/286 and dedicated software like "kbridge"
  2427.        (the free of the commercial version). An old AT plus a couple
  2428.        of cheap ethernet cards, and you are in business.
  2429.  
  2430.     Q: I have /dev/eth0 as a link to /dev/xxx. Is this right?
  2431.  
  2432.     A: Contrary to what you have heard, the files in /dev/* are not used.
  2433.        I originally thought that they might be an OK idea. I've since
  2434.        concluded that they won't work, at least in the documented form.
  2435.  
  2436.     Q: Should I disable trailers when I "ifconfig" my ethercard?
  2437.  
  2438.     A: You can't disable trailers, and you shouldn't want to.
  2439.        'Trailers' are a hack to avoid data copying in the
  2440.        networking layers. The idea was to use a trivial 
  2441.        fixed-size header of size 'H', put the variable-size header 
  2442.        info at the end of the packet, and allocate all packets
  2443.        'H' bytes before the start of a page. While it was a good
  2444.        idea, it turned out to not work well in practice.
  2445.        If someone suggests the use of '-trailers', note that it
  2446.        is the equivalent of sacrificial goats blood. It won't do
  2447.        anything to solve the problem, but if problem fixes itself then
  2448.        someone can claim deep magical knowledge.
  2449.  
  2450. 9 Miscellaneous.
  2451.  
  2452.     Any other associated stuff that didn't fit in anywhere else gets
  2453.     dumped here. It may not be relevant, and it may not be of general
  2454.     interest but it is here anyway.
  2455.  
  2456. 9.01 Passing Ethernet Arguments to the Kernel via LILO
  2457.  
  2458.     Here is a generic lilo command that would be typed after the name
  2459.     of your configuration in your lilo.conf file (usually "linux")
  2460.     
  2461.     ether=IRQ,BASE_ADDR,PARAM_1,PARAM_2,NAME
  2462.     
  2463.     All arguments are optional.  The first non-numeric argument
  2464.     is taken as the <name>.  
  2465.     
  2466.     IRQ:
  2467.     ----
  2468.     Obvious.  An IRQ value of '0' (usually the default) means to autoIRQ.
  2469.     It's a historical accident that the IRQ setting is first rather than
  2470.     the base_addr -- this will be fixed whenever something else changes.
  2471.     
  2472.     BASE_ADDR:
  2473.     ----------
  2474.     Also obvious.  A value of '0' (usually the default) means to
  2475.     probe a card-type-specific address list for an ethercard.
  2476.     
  2477.     PARAM_1:
  2478.     --------
  2479.     It was orginally used as an override value for the memory start 
  2480.     for a shared-memory ethercard, like the WD80*3.
  2481.     Some drivers use the low four bits of this value to set the debug
  2482.     message level.  0 == default, 1-7 == level 1..7, (7 is maximum
  2483.     verbosity)  8 == level 0 (no messages).
  2484.  
  2485.     PARAM_2:
  2486.     --------
  2487.     The 3c503 driver uses this select between the internal and external
  2488.     transceivers.  0 == default/internal, 1 == AUI external.
  2489.  
  2490.     NAME:
  2491.     -----
  2492.     Selects the network device the values refer to.  The standard kernel
  2493.     uses the names "eth0", "eth1", "eth2" and "eth3" for bus-attached
  2494.     ethercards, and "atp0"/"dl0" for parallel port "pocket" ethernet
  2495.     adaptors.
  2496.     The default setting is for a single ethercard to be probed for as
  2497.     "eth0".  Multiple cards can only be enabled by explicitly setting up
  2498.     their base address using these LILO parameters.
  2499.     The 1.0 kernel has LANCE-based ethercards as a special case.  LILO
  2500.     arguments are ignored, and LANCE cards are always assigned
  2501.     "eth<n>" names starting at "eth0".  Additional non-LANCE ethercards
  2502.     must be explicitly assigned to "eth<n+1>", and the usual "eth0"
  2503.     probe disabled with something like  "ether=0,-1,eth0".
  2504.     [[ Yes, this is bug.]]
  2505.     
  2506.     This next lilo command is used just like "ether=" above, ie. it is
  2507.     appended to the name of the boot select specified in lilo.conf
  2508.  
  2509.     reserve=IO-base,extent{,IO-base,extent...}
  2510.  
  2511.     In some machines it may be necessary to prevent device drivers from
  2512.     checking for devices (auto-probing) in a specific region. This may be
  2513.     because of poorly designed hardware that causes the boot to "freeze"
  2514.     (such as some ethercards), hardware that is mistakenly identified,
  2515.     hardware whose state is changed by an earlier probe, or merely
  2516.     hardware you don't want the kernel to initialize.
  2517.  
  2518.     The "reserve" boot-time argument addresses this problem by specifying
  2519.     an I/O port region that shouldn't be probed. That region is reserved
  2520.     in the kernel's port registration table as if a device has already
  2521.     been found in that region. Note that this mechanism shouldn't be
  2522.     necessary on most machine, only when there is a problem or special
  2523.     case.
  2524.  
  2525.     The I/O ports in the specified region are protected against
  2526.     device probes. This was put in to be used when some driver was
  2527.     hanging on e.g. a NE2000, or misidentifying some other device 
  2528.     as its own.  A correct device driver shouldn't probe a reserved 
  2529.     region, unless another boot argument explicitly specifies that 
  2530.     it do so.  This implies that "reserve" will most often be used 
  2531.     with some other boot argument. Hence if you specify a "reserve" 
  2532.     region to protect a specific device, you must generally specify 
  2533.     an explicit probe for that device. Most drivers ignore the port 
  2534.     registration table if they are given an explicit address.
  2535.  
  2536.     For example, the boot line
  2537.         lilo: linux  reserve=0x300,32  ether=0,0x300,eth0
  2538.     keeps all device drivers except the ethercard drivers from 
  2539.     probing 0x300-0x31f.
  2540.  
  2541.     As usual with boot-time specifiers there is an 11 parameter limit,
  2542.     thus you can only specify 5 reserved regions per "reserve" keyword.
  2543.     Multiple "reserve" specifiers will work if you have an usually
  2544.     complicated request.
  2545.  
  2546. 9.02 Bad Vendors
  2547.  
  2548.     #define SOAPBOX
  2549.  
  2550.     There used to be some horror stories here about dealings with
  2551.     Cabletron and Xircom. They were pretty ugly and gruesome.
  2552.     Basically these companies are the ethernet equivalent of
  2553.     what Diamond is to XFree86. They do not want to release
  2554.     vital information on low-level programming of their hardware.
  2555.     For something like Linux, where the source code for everything
  2556.     is out in the open, this makes their hardware difficult or
  2557.     impossible to use. However, like Diamond, when confronted
  2558.     with the fact that they are losing sales from Linux/BSD users,
  2559.     they basically shrug it off, saying that it is only a small
  2560.     percentage of the total sales. If you can afford the time,
  2561.     drop these vendors a note (via e-mail or snail-mail) and tell
  2562.     them politely that the fact that they don't support open
  2563.     software systems such as Linux has forced you to exclude them
  2564.     from the vendors that you are purchasing hardware from. It may
  2565.     not make any immediate difference, but it might make you feel
  2566.     better. Besides, a few seconds of your time is a cheap price
  2567.     to pay for *all* that free Linux software you are using. 8-)
  2568.  
  2569.     #undef SOAPBOX
  2570.  
  2571. 9.03 Closing
  2572.  
  2573.     If you have found any glaring typos, or outdated info in this
  2574.     document, please let one of us know. It's getting big, and it
  2575.     is easy to overlook stuff.
  2576.  
  2577.     Paul Gortmaker        <gpg109@rsphy1.anu.edu.au>
  2578.     Donald J. Becker    <becker@cesdis1.gsfc.nasa.gov>
  2579.  
  2580.         =========== end of Ethernet HOWTO ============
  2581.  
  2582.